~/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 chsh -s /usr/bin/zsh

We need git for these next steps, so install it if you don't already have it:

sudo apt install git -y

Now let's get those Fish-like Autosuggestions:

First, create a directory for our zsh plugins:

mkdir -p ~/.zsh

Then clone the plugin:

git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions

Add it to your .zshrc:

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

That's the basic setup done.

If you want to go even further, you can customize your .zshrc to change the appearance and behavior of your shell.

For example, you could use the Kali Linux

Or the one i use

Before replacing your .zshrc make a backup::

cp ~/.zshrc ~/.zshrc.bak

Then open .zshrc in your preferred text editor and replace or modify the contents however you like.


Finally, restart your terminal or start a new zsh session.

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

Enjoy your considerably cooler terminal. :)