Skip to content

Instantly share code, notes, and snippets.

@smikheiev
Last active February 1, 2020 21:18
Show Gist options
  • Save smikheiev/1694d384c70b0436197a8a13d90086f3 to your computer and use it in GitHub Desktop.
Save smikheiev/1694d384c70b0436197a8a13d90086f3 to your computer and use it in GitHub Desktop.

iTerm2

brew cask install iterm2

Oh My Zsh

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

Powerlevel10k

Font

Meslo Nerd Font are in configs repo

cd ~/configs/fonts
./install.sh

Use this font in iTerm2: iTerm -> Preferences -> Profiles -> Text and set Font to MesloLGS NF Regular 12pt.

Powerlevel10k

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k

Set ZSH_THEME="powerlevel10k/powerlevel10k" in ~/.zshrc

Auto suggestions

brew install zsh-autosuggestions

Add source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh to ~/.zshrc

Add syntax highlighting

brew install zsh-syntax-highlighting

Add source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh to ~/.zshrc

Add z (for fast navigation in terminal)

brew install z

Add . "/usr/local/etc/profile.d/z.sh" to ~/.zshrc

Enable word jumps and word deletion in iTerm2

iTerm -> Preferences -> Profiles -> Keys -> Load Preset -> Natural Text Editing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment