How to manually customize your terminal

Let's use zsh to make our terminal look pretty.

To install zsh, open your terminal and enter:

sudo apt update && sudo apt install zsh -y

To make zsh your default shell enter:

sudo chshs -s /usr/bin/zsh

We need git for these next steps, so if you haven't already, please install git by entering:

sudo apt install git -y

Now let's get those Fish-like Autosuggestions:

git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
sudo echo "source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh" >> ~/.zshrc

Next let's get Syntax Highlighting

cd ~/.zsh && git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
sudo echo "source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ~/.zshrc

Now this could be it – you could close your terminal, log out or reboot to finalize – but if you want even more pretty, i suggest you add a custom .zshrc file

You could add the one from Kali Linux

Or the one i use

Before we do anything though we should backup your current .zshrc:

cp ~/.zshrc ~/.zshrc.bak

Whichever .zshrc you choose, simply fill your .zshrc with the new custom content.

To do that open your current .zshrc in a text editor (GUI or CLI) and replace the contents with one of the above choices – or even make/modify one on your own!


To finalize all of this enter:

source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

Then close your terminal, log out or reboot and enjoy