Skip to content

Instantly share code, notes, and snippets.

@ryanswood
Created December 16, 2016 19:50
Show Gist options
  • Select an option

  • Save ryanswood/7d4b47a0053e7b61ff63cb3d5353af1a to your computer and use it in GitHub Desktop.

Select an option

Save ryanswood/7d4b47a0053e7b61ff63cb3d5353af1a to your computer and use it in GitHub Desktop.

Setting up a New Computer

πŸ“¦ Applications

🍫 Install Command Line Goodies

  • Oh My Zsh

    sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    
  • Homebrew

    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    
  • subl

    ln -s "/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl
    

🍻 Install Brews

  • brew install zsh-syntax-highlighting

🍩 Use .dotfiles

  1. Get .dotfiles
git clone https://jonahaga@bitbucket.org/jonahaga/dotfiles.git && cd dotfiles
  1. Move custom zsh theme to folder
cp avit-custom.zsh-theme ~/.oh-my-zsh/themes/
  1. Use custom .zshrc and .gitconfig
cp .zshrc ~/
cp .gitconfig ~/
  1. Move Consolas font to System font directory
unzip Consolas.ttf.zip -d /Library/Fonts/
  1. Use custom Sublime preferences

  2. Open Sublime and install Package Control

  3. Move *.sublime-settings, *.sublime-snippet, *.sublime-keymap files to Sublime user folder

```bash
for f in *.sublime-*; do cp $f ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/; done
```

🚠 iTerm Customizations

  • Uncheck Preferences > Appearance > Show per-pane title bar with split panes
  • Load custom colors via iTerm > Preferences > Profiles > Colors > Color Presets > Import
  • In Preferences > Profiles > Keys, select "+Esc" from "Left option key acts as"

🍎 Mac OS Customizations

  • Remap Caps Lock to Esc (Only for MacBook Pro with Touch Bar. Other computers will need Karabiner Elements)

    System Preferences > Keyboard > Modifier Keys
    
  • Allow key repeats

    defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
    
  • Show .dotfiles in Finder

    defaults write com.apple.finder AppleShowAllFiles YES
    
  • Control dialog windows with keyboard

    • In System Preferences > Keyboard > Shortcuts, select "All controls" under "Full keyboard access ..."
  • Do not warn before emptying the trash

    • In Finder > Preferences, uncheck "Show warning before emptying the trash"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment