My favourite iTerm2 profile configured to perfection
Follow the basic installation:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
You should now have .zshrc
and .oh-my-zsh
in your root directory
vi ~/.zshrc
- Change the theme line to
ZSH_THEME="agnoster"
- Add any custom aliases at the end of the file
- Write and quit
- Restart iTerm
You might see some broken icons, this is because the agnoster theme requires a specific font. To fix this (cd
to ~/Desktop
)
git clone https://github.com/powerline/fonts
cd fonts
./install.sh
from terminal / command line- Open iTerm -> Preferences -> Profiles -> Text -> Change Font ->
Meslo LG S DZ Regular for Powerline
- Restart iTerm
- Save a copy of this colour preset file
- Open up the iTerm preferences
- Go to Profiles -> Colors
- Under
Color Presets
selectImport
and choose the file you downloaded - Select the preset
colours
- Restart iTerm