Skip to content

Instantly share code, notes, and snippets.

@grabovszky
Created June 18, 2021 11:33
Show Gist options
  • Save grabovszky/ff2215d35748858513c53878774b34a5 to your computer and use it in GitHub Desktop.
Save grabovszky/ff2215d35748858513c53878774b34a5 to your computer and use it in GitHub Desktop.
A simple install instruciton for setting up terminator with Oh My Zsh and the Powerlevel 10k theme.

Terminator Zsh configuration

Table of Contents

Installation

Terminator

  1. Add terminator to apt repository and install terminator
sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminator
  1. Change default terminal to terminator
sudo update-alternatives --config x-terminal-emulator

Zsh

  1. Next install Zsh
sudo apt-get install zsh
  1. Install Oh My Zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  1. Add some plugins
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
  1. Open .zshrc to change Zsh settings
sudo nano ~/.zshrc
  1. To set plugins add this to the end of the .zshrc file
plugins=(
git
zsh-autosuggestions
zsh-syntax-highlighting
)
  1. Change Zsh theme to agnoster, find ZSH_THEME line in the .zshrc file and change to agnoster
ZSH_THEME="agnoster"
  1. Set Oh My Zsh as default Zsh shell
source ~/.zshrc
chsh -s $(which zsh)

Powerlevel 10k

  1. download MesloGS NF fonts and install them by right clicking or adding them to the ~/.fonts/ folder in your home directory

https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf > https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold.ttf > https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Italic.ttf > https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf

  1. To set MesloGS NF Regular as terminators main font, right click inside the terminal open Preferences > Profiles > default > Font > MesoloLGS NF Regular 10

  2. Download powerlevel10k theme

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
  1. Set powerlevel10k theme as default Zsh theme
sudo nano ~/.zshrc

Find line which starts with ZSH_THEME and chage default theme to powerlevel10k

ZSH_THEME="powerlevel10k/powerlevel10k"
  1. Close the terminal and reopen, you will be greeted with the powerlevel10k setup screen, click thorugh it and set up as you desire.

Acknowledgments

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