zsh + oh-my-zsh
-
Git
brew install git -
Oh My Zsh (required)
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
-
Clone repo in home directory, then run:
install.zsh
After running install.zsh, reload your shell so $ZSH_CUSTOM is set:
source ~/.zshrcImportant:
- Built-in Oh My Zsh themes (e.g.
robbyrussell) require no installation - Only custom themes should be installed to
dotfiles/custom/themes/ - Plugins must be installed to
dotfiles/custom/plugins/
This setup uses the built-in Oh My Zsh theme:
ZSH_THEME="robbyrussell"This repo defines $ZSH_CUSTOM="$HOME/dotfiles/custom". The custom/plugins/ and custom/themes/ directories already exist and are gitignored.
Install plugins into custom/plugins/:
-
git clone https://github.com/zsh-users/zsh-autosuggestions "$ZSH_CUSTOM/plugins/zsh-autosuggestions"
-
git clone https://github.com/marlonrichert/zsh-autocomplete "$ZSH_CUSTOM/plugins/zsh-autocomplete"
-
git clone https://github.com/lukechilds/zsh-nvm "$ZSH_CUSTOM/plugins/zsh-nvm"
Run:
git config --global user.email "you@example.com"
git config --global user.name "Your Name"-
Always show hidden files:
defaults write com.apple.finder AppleShowAllFiles -boolean true; killall Finder -
Disable Screen Capture’s …
- Drop shadow:
defaults write com.apple.screencapture disable-shadow -bool true - Thumbnail preview:
defaults write com.apple.screencapture show-thumbnail -bool false
- Drop shadow:
-
zsh-nvm is managed by zsh (don’t use Brew for nvm!). Once installed:
nvm upgrade,nvm revert,nvm install --lts(latest “Long-Term Support” release),nvm uninstall <version> -
Reload shell config: this repo defines a ZLE hook so entering
.runssource ~/.zshrc(stock zsh uses.to source a file, for example. ~/.zshrc)