Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wesbos/Cobalt2-iterm

Cobalt2 Colour Scheme for iTerm2 + ZSH
https://github.com/wesbos/Cobalt2-iterm

Last synced: 6 days ago
JSON representation

Cobalt2 Colour Scheme for iTerm2 + ZSH

Awesome Lists containing this project

README

        

# Cobalt2 for iTerm2 and ZSH

iTerm2 Cobalt2

* `cobalt2.itermcolors` is Cobalt2 theme for iTerm2 - This makes things blue and yellow.
* `cobalt2.zsh-theme` is 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:

#### Step-by-step installation
1. Drop the `cobalt2.zsh-theme` file in to the `~/.oh-my-zsh/themes/` directory.
2. Open up your ZSH preferences at `~/.zshrc` and change the theme variable to `ZSH_THEME="cobalt2"`.

3. Install Powerline and necessary fonts, one way is using [PIP](https://en.wikipedia.org/wiki/Pip_(package_manager))
* For first time *PIP* users refer to this [PIP installation guide](https://pip.pypa.io/en/stable/installing/)
* 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`.

3. In iTerm2 access the *Preferences* pane on the *Profiles* tab.
4. Under the *Colors* tab import the `cobalt2.itermcolors` file via the *Load Presets* drop-down.
5. Under the *Text* tab change the font for each type (*Regular* and *Non-ASCII*) to '**Inconsolata for Powerline**'. (Refer to the [powerline-fonts repo](https://github.com/powerline/fonts) for help on font installation.)
6. Refresh ZSH by typing `source ~/.zshrc` on the command line.
7. If you want the full blown tabs and everything shown in the screenshot, use the Profile in Cobalt2.json.

##### ...in a MinTTY environment
1. Drop the `cobalt2.zsh-theme` file in to the `~/.oh-my-zsh/themes/` directory.
2. Open up your ZSH preferences at `~/.zshrc` and change the theme variable to `ZSH_THEME="cobalt2"`.
3. Install '**Inconsolata for Powerline**'. (Refer to the [powerline-fonts repo](https://github.com/powerline/fonts) for help on font installation.)
4. Replace the `~/.minttyrc` file with the `.minttyrc` file in this repo.
5. Restart your terminal.