All Articles

Riced Out Terminal

Slick Terminal

It’s fun to give your terminal a little bit of style, in this tutorial we are going to transform our boring default stock Ubuntu terminal into a riced-out beast. Were going to add a little flavor with dozens of base 16 syntax color schemes to choose, zsh with the oh my zsh framework, patched nerd fonts, and a ruby gem called color ls. When you complete this guide your terminal will look professional, provide more functionality, and add value to your daily routine.

Install base-16-gnome-terminal (Ubuntu 20.04)

the default shell in Ubuntu 20.04 is the Gnome terminal, locate the shell you are using from the link provided and follow the instructions accordingly.

base16 github page

git clone ~/.config/base16-gnome-terminal

# navigate to the color scripts directory to see all of the available color schemes
cd .config/base-16-gnome-terminal/color-scripts

# choose a scheme and execute it

open the Gnome terminal preferences and set your scheme profile as default. restart the terminal

Download and install the patched Hack Nerd Font

download the file, extract the contents and install the “Hack Regular Nerd Font Complete.ttf” font. Open the Gnome terminal preferences and set this as your terminal font

Nerd fonts download page

Install Ruby

sudo apt install ruby-full

Install Color LS

Color LS

sudo gem install colorls

Install ZSH

sudo apt install zsh

Make ZSH your default shell

chsh -s $(which zsh)

log out and back in again to apply the changes in Ubuntu

Verify that ZSH is your default shell

echo $SHELL

Install Oh My Zsh


sh -c "$(curl -fsSL"

Install the PowerLevel10K theme


this will also include the plugins for auto suggestions and syntax highlighting

git clone --depth=1 ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k

git clone $ZSH_CUSTOM/plugins/zsh-autosuggestions

git clone $ZSH_CUSTOM/plugins/zsh-syntax-highlighting

Edit the .zshrc configuration

use your editor of choice to make the following changes to the .zshrc configuration file in your home directory

vim .zshrc

# find the ZSH_THEME and change it to

# add the following line right below ZSH_THEME to incorporate the patched Hack Nerd font installed earlier

# uncomment the following line to enable command auto-correction.

# to add the plugins we downloaded, edit plugins=(git) as shown

# add the following lines anywhere in your configuration
# Color LS
export LS_COLORS

# create a few aliases to use Color LS by default
alias ls='colorls -A --gs --sd'
alias ll='colorls -lA --gs --sd'
alias lt='colorls --tree --gs --sd'

# save and exit

Run -or- Re-Run the Powerlevel10K theme setup

p10k configure


Feel free to re-run the p10k configure setup as many times as needed. Play around with the Powerlevel10K options to get the look exactly how you like it.

Published Aug 8, 2021

IT nerd insomniac. Linux fanboy. Lover of hoppy beer & MMA.