Skip to content

Instantly share code, notes, and snippets.

@ramondelemos
Last active November 10, 2025 20:23
Show Gist options
  • Select an option

  • Save ramondelemos/a337c9e94c3dbe0629435c0c34c5b324 to your computer and use it in GitHub Desktop.

Select an option

Save ramondelemos/a337c9e94c3dbe0629435c0c34c5b324 to your computer and use it in GitHub Desktop.
Terminator + ZSH Shell + Oh My ZSH with PowerLevel9k Theme

Ubuntu 18.04 LTS + Terminator + ZSH Shell + Oh My ZSH with PowerLevel9k Theme and Hack Nerd Fonts

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").

My terminator config

nano ~/.config/terminator/config
[global_config]
  tab_position = bottom
  title_inactive_bg_color = "#888a85"
  title_inactive_fg_color = "#ffffff"
  title_transmit_bg_color = "#000000"
[keybindings]
[layouts]
  [[default]]
    [[[child1]]]
      parent = window0
      profile = default
      type = Terminal
    [[[window0]]]
      parent = ""
      type = Window
[plugins]
[profiles]
  [[default]]
    background_color = "#20112e"
    background_darkness = 0.85
    background_type = transparent
    cursor_color = "#aaaaaa"
    foreground_color = "#ffffff"

Install ZSH

sudo apt-get install zsh

Make ZSH your default shell

chsh -s $(which 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

Oh My Zsh is installed by running one of the following commands in your terminal. You can install this via the command-line with either curl or wget.

via curl

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

via wget

sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

Install Powerline and Powerline Fonts for ZSH:

sudo apt-get install powerline fonts-powerline

Install ZSH Powerlevel9k Theme:

git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k

Enable Syntax Highlighting on ZSH Shell

sudo apt-get install zsh-syntax-highlighting

Install Nerd Fonts!

PowerLevel9k accepts lots of fonts, but Nerds are the most complete set with lots of glyphs! Get whatever font you like, but on the video above I picked Hack from Nerd Fonts

Install them with GNOME Fonts App, that basically moves them on $HOME/.local/share/fonts

Install zsh-autosuggestions

Clone this repository into $ZSH_CUSTOM/plugins (by default ~/.oh-my-zsh/custom/plugins)

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

Add the plugin to the list of plugins for Oh My Zsh to load (inside ~/.zshrc):

plugins=(zsh-autosuggestions)

Install fzf command-line fuzzy finder

git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install

~/.zshrc

ZSH_THEME="powerlevel9k/powerlevel9k"

POWERLEVEL9K_TIME_FORMAT="%D{%d-%m-%y %H:%M:%S}"
POWERLEVEL9K_MODE="nerdfont-complete"
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(os_icon context dir vcs)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(time)
POWERLEVEL9K_PROMPT_ON_NEWLINE=true
POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX=""
POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="↳ > "

source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

Get PowerLevel9k — The Most Cool Linux Shell EVER!

How to Install ZSH Shell on Ubuntu 18.04 LTS

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