Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save itsvinayak/82158584a895b8f7ef3791e0f6a2517f to your computer and use it in GitHub Desktop.
Save itsvinayak/82158584a895b8f7ef3791e0f6a2517f to your computer and use it in GitHub Desktop.
Ubuntu 18.04 + Terminator + Oh My ZSH with Agnoster Theme

Install Terminator (shell)

sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminator

Terminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").

Edit config file for Terminator /home/{yourUserName}/.config/terminator/config

 vim /home/{yourUserName}/.config/terminator/config

now copy the code in link

Install ZSH

sudo apt-get install zsh

Restart your terminal. Choose option 2 for Z Shell configuration.
Don't forget to migrate your previous configurations (RVM, Rbenv...) from .bashrc to .zshrc

Install Oh My ZSH

cd
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Setup missing fonts (powerline)

Easy way

If your are using Ubuntu >= 16.04 you can simply run: sudo apt-get install fonts-powerline

Alternative way

Install powerline font

cd
wget https://github.com/powerline/powerline/raw/develop/font/PowerlineSymbols.otf
wget https://github.com/powerline/powerline/raw/develop/font/10-powerline-symbols.conf
mkdir ~/.fonts/
mv PowerlineSymbols.otf ~/.fonts/
mkdir -p .config/fontconfig/conf.d #if directory doesn't exists

Clean fonts cache

fc-cache -vf ~/.fonts/

Move config file

mv 10-powerline-symbols.conf ~/.config/fontconfig/conf.d/

Configure ZSH

vim ~/.zshrc

Theme

Change [ZSH_THEME="robbyrussell"] to [ZSH_THEME="agnoster"]

ZSH_THEME="agnoster"

Restart Terminator and you're done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment