- Install iTerm2 from https://www.iterm2.com/
- Install oh-my-zsh from https://ohmyz.sh/ or https://github.com/robbyrussell/oh-my-zsh
- Set iTerm2 theme tab theme to Dark -
Preferences | Appearance | Tabs | Theme > Dark
- Install Fira Code fonts from https://github.com/tonsky/FiraCode (Clone and navigate to
dstr > ttf
, install all font files by double clicking) - Install Powerline fonts from https://github.com/powerline/fonts
- Set fonts for iTerm2 -
Preferences | Profiles | Text
- Change
Font
to14pt Fira code regular
and CheckUse Ligatures
checkbox - Change
Non ASCII Font
to14pt Fira mono
and CheckUse Ligatures
checkbox
- Change
- Install iTerm2 snazzy theme from https://github.com/sindresorhus/iterm2-snazzy
- Navigate to
Preferences | Profiles | Color Presets > Snazzy
- Navigate to
- Install Pure prompt for iTerm2 from https://github.com/sindresorhus/pure#oh-my-zsh
# .zshrc
ZSH_THEME=""
npm install --global pure-prompt
# oh-my-zsh overrides the prompt, so Pure must be activated after `source $ZSH/oh-my-zsh.sh`
# .zshrc
autoload -U promptinit; promptinit
prompt pure
- Install awesome
z
tool for autojumping between recent folders(Check usage here - https://github.com/rupa/z/)- Use brew
brew install z
(This should take care of everything for you) - Or to setup manually, Download 'z' from https://github.com/rupa/z/blob/master/z.sh and move to
~/
and add following snippet to~/.zshrc
- Use brew
# .zshrc
# include Z, yo
. ~/z.sh
- Install
zsh-syntax-highlighting
oh-my-zsh plugin
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
- Install
zsh-autosuggestions
oh-my-zsh plugin
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
- Install
pygments
package, a pre-requisite forcolorize
plugin(cat
with syntax highlight support, aliasccat
)
pip install pygments
# OR
pip3.6 install pygments
- Install
trash
command as safter alternative forrm
command
npm install --global trash-cli
trash ./folder/file.txt # Should move to trash instead of permanently deleting it
- Finally update plugins list for oh-my-zsh in
~/.zshrc
# .zshrc
plugins=(
git
brew
common-aliases
node
npm
rand-quote
sudo
yarn
z
colored-man-pages
colorize
cp
zsh-syntax-highlighting
zsh-autosuggestions
)
Screenshot
Bonus
Try https://starship.rs/ or https://github.com/denysdovhan/spaceship-prompt
Useful links:
- https://github.com/robbyrussell/oh-my-zsh/wiki/Plugins-Overview
- https://commandlinepoweruser.com/
- https://medium.freecodecamp.org/jazz-up-your-zsh-terminal-in-seven-steps-a-visual-guide-e81a8fd59a38
- https://hackernoon.com/oh-my-zsh-made-for-cli-lovers-bea538d42ec1
- https://www.smashingmagazine.com/2015/07/become-command-line-power-user-oh-my-zsh-z/