cobalt2.itermcolorsis Cobalt2 theme for iTerm2 - This makes things blue and yellow.cobalt2.zsh-themeis the custom prompt for oh-my-zsh. It makes that cool line with folder and git status.
They work well together! You will need to install the patched powerline font as well: https://github.com/powerline/fonts
-
Drop the
cobalt2.zsh-themefile in to the~/.oh-my-zsh/themes/directory. -
Open up your ZSH preferences at
~/.zshrcand change the theme variable toZSH_THEME="cobalt2". -
Install Powerline and necessary fonts, one way is using PIP
- For first time PIP users refer to this PIP installation guide
- To install Powerline using pip
pip install --user powerline-status
- Now install all necessary fonts by downloading or cloning git repository.
git clone https://github.com/powerline/fonts
cd fonts
./install.sh
note: if you are using iTerm2, they now have a checkbox for Powerline fonts
Profiles→Text.
- In iTerm2 access the Preferences pane on the Profiles tab.
- Under the Colors tab import the
cobalt2.itermcolorsfile via the Load Presets drop-down. - Under the Text tab change the font for each type (Regular and Non-ASCII) to 'Inconsolata for Powerline'. (Refer to the powerline-fonts repo for help on font installation.)
- Refresh ZSH by typing
source ~/.zshrcon the command line. - If you want the full blown tabs and everything shown in the screenshot, use the Profile in Cobalt2.json.
- Drop the
cobalt2.zsh-themefile in to the~/.oh-my-zsh/themes/directory. - Open up your ZSH preferences at
~/.zshrcand change the theme variable toZSH_THEME="cobalt2". - Install 'Inconsolata for Powerline'. (Refer to the powerline-fonts repo for help on font installation.)
- Replace the
~/.minttyrcfile with the.minttyrcfile in this repo. - Restart your terminal.
