- 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
Fontto14pt Fira code regularand CheckUse Ligaturescheckbox - Change
Non ASCII Fontto14pt Fira monoand CheckUse Ligaturescheckbox
- 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
ztool 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-highlightingoh-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-autosuggestionsoh-my-zsh plugin
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions- Install
pygmentspackage, a pre-requisite forcolorizeplugin(catwith syntax highlight support, aliasccat)
pip install pygments
# OR
pip3.6 install pygments- Install
trashcommand as safter alternative forrmcommand
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/
