Highly customized instructions for setting up a new mac to my liking
- Install Chrome => https://www.google.com/chrome/browser/desktop/
- Install Spotify => https://www.spotify.com/us/download/mac/
- Install Postman => https://www.getpostman.com/
- Install Slack => https://slack.com/downloads
- Install Dropbox => https://www.dropbox.com/en_GB/downloading?os=mac
- Install Gyazo and Gyazo GIF => https://gyazo.com/download
- Install iTerm 2 (> 2.1) => https://www.iterm2.com/4
- Install XCode => https://itunes.apple.com/us/app/xcode/id497799835?mt=12
- Install Homebrew => http://brew.sh/
- Install self-hosted tools => https://github.com/crittelmeyer/dotfiles/tree/master/bin
-
- Open iTerm
- Make iTerm your default terminal in the top menu: iTerm > Make iTerm Default Term
- Install shell integration & utilities for iTerm in the top menu: iTerm > Install Shell Integration & Utilities
- Restart iTerm
- Copy your private and public ssh key(s) to ~/.ssh, chmod 400 ~/.ssh/[key], then
eval "$(ssh-agent -s)"
, thenssh-add -K ~/.ssh/[key]
- Create ~/Repos directory
- Pull this dotfiles repo
- Make
brew.sh
executable ->chmod +x brew.sh
- Run brew.sh as sudo to install common tools
- Optionally run brew-ctf.sh to install pentest/ctf tools
- Install oh my zsh:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/crittelmeyer/dotfiles/master/.oh-my-zsh/tools/install.sh)"
- Run
git submodule init
,git submodule sync
,git submodule update
- Copy powerline directory to ~/Repos/
- Follow README instructions for powerline
- Follow README instructions for tmux-powerline
- Update iTerm fonts in preferences to use one of the powerline fonts you installed above
- Run bootstrap.sh as sudo to sync dotfiles/home dir
-
- Change system keyboard settings and update Caps Lock modifier key to map to Ctrl
- Under iTerm Preferences > Keys > Hotkey, check "Show/hide iTerm2 with a system-wide hotkey" (leave default Alt+Space)
- Under iTerm Preferences > Advanced > Mouse, change "Scroll wheel sends arrow keys..." to "Yes"
- Double-click iTerm to maximize without hiding title bar, go to Window > Save Window Arrangement and save as "Default", then Under iTerm Preferences > General > Startup select "Open Default Window Arrangement"
- Under iTerm Preferences > Profiles > General > Working Directory select "Directory" and type the default project you will be working in i.e. /Users/chrisrittelmeyer/Repos/fe-xmain-client - this allows cmd+clicking of relative file paths
- Under iTerm Preferences > Profiles > Advanced > Semantic History select "Open with Editor" and choose an editor
- Under iTerm Preferences > Profiles > Text > Text Rendering - check "Use built-in Powerline glyphs"
- Might need to: Under iTerm Preferences > Profiles > Text > Unicode - uncheck Unicode version 9 char widths
- Add special key mappings to iTerm for vim:
- Ctrl+Space => Send escape sequence: Esc+[29~
- Shift+Return => Send escape sequence: Esc+[27~
- Ctrl+Return => Send escape sequence: Esc+[25~
- d = lists recently used directories
- md = mkdir
- cd +n = switch to directory number n
- .. = cd ..
- ... = cd ../..
- / = cd /
- [Esc]x2 = fuck = try to fix last command
- src ==> sources ~/.zshrc, clears cache
- wake [machine alias] ==> uses wakeonlan to wake machine defined in ~/.wakeonlan/[machine alias]
- google [search terms] ==> does google search
- github [search terms] ==> does github search
https://gist.github.com/crittelmeyer/78cf2c167c963d279ae8
https://gist.github.com/crittelmeyer/6acae5aeec3e1ec210ce
https://gist.github.com/crittelmeyer/e3e8f58f5808fca8ba2aeda1509a877a
TODO
TODO
TODO