Giter VIP home page Giter VIP logo

my-macos-config's Introduction

My OSX Config

I got tired of manually redoing my settings every time I used a new macbook for work or personal use, decided it’d be better to keep my settings in a central location.

Install in this order

  1. Optional: Add the following line to /etc/hosts/: 0.0.0.0 ocsp.apple.com (disables apple phoning home for app verification). Then run: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder (to refresh hosts).

  2. Install Homebrew.

  3. Install Warp Terminal.

  4. Follow Github Instructions to set up SSH key.

  5. Clone this repo and run the first setup script.

    cd ~/Downloads;\
    printf 'y\n' | git clone [email protected]:kaibyao/My-OSX-Config.git;\
    cd laptop-setup;\
    ./setup-1.sh;\
    # extra line break to ensure the above gets run
  6. Close your current Terminal.app window, and open a new one. Make sure zsh is your current shell.

    echo $SHELL
    # should return: /usr/local/bin/zsh
  7. Run the second setup script.

    cd ~/Downloads/laptop-setup;\
    ./setup-2.sh;\
    # extra line break to ensure the above gets run

    This installs the following:

    • Iosevka and Roboto Mono fonts (used for VSCode and iTerm, respectively).
    • Prezto for zsh (enhances your terminal experience).
    • Other homebrew utils
    • iTerm
    • The latest version of git
    • p4merge as a mergetool for git
    • optimal git configs
    • Visual Studio Code + useful extensions/settings
    • asdf, node, and yarn (for javascript development)
    • Firefox and Chrome
  8. Make Visual Studio Code accessible from command line.

    1. Open Visual Studio Code.app.
    2. Type Command-Shift-P to open the “Run...” menu.
    3. Type “path”. You should see the choices available filter down to 2–3 choices.
    4. Select Shell Command: Install 'code' command in PATH.
    5. Now you can open VSCode with the current working folder from your terminal by typing code ..
  9. Optionally, run the extra-osx-perf-scripts.sh script in this repo to disable extra MacOS fluff features (like window transparency, animations, etc). Overall it should speed up your laptop.

    ./extra-osx-perf-scripts.sh
  10. Install Moom

    1. General preferences
      1. Check Launch automatically on login
      2. Uncheck Show preferences on launch
      3. Run as menu bar application
    2. Mouse (leave alone)
    3. Keyboard
      1. Check Show cheat sheet and Repeat to show grid
      2. Command held: Move to other display
      3. Auto-dismiss keyboard control after:
        1. Check Move & Zoom
        2. Uncheck Move, Grow, Shrink
        3. Check Other actions
  11. (Optional) Sublime Text setup

  12. (Optional) Sketch setup

  13. (Optional) Omnigraffle setup

my-macos-config's People

Contributors

kaibyao avatar kai-tock avatar ardivoli avatar

Stargazers

Otto G avatar

Watchers

James Cloos avatar  avatar

my-macos-config's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.