Kali like Terminal?

Hello all. I’m using Kali for pentesting labs lately and I really like the terminal and its functions like showing previous entered commands and different colors when typing. I’m still not THAT familar to Linux and I’d like to ask you what I need to download or what kind of settings I have to change on my system to get a Kali like terminal experience.

You should be able to look in the configuration files for the shell you’re using (e.g. .bashrc) to see what it’s loading. I assume anyone using Kali for pentesting is capable of tracking down what’s loaded on their system? :wink:


the easiest way is, copy the .zshrc file(home/your_user/.zshrc) from your kali OS and put it in your EOS/Arch installation. it works, but the file is optimized for debian and not for arch.

you will need Zsh
you can configure it as your default shell or start it in the terminal with ‘zsh’

make a backup from the .zshrc file, bevor you replace it.

The right and difficult way is, you read the zsh wiki page and learn how you can change it.

with echo $SHELL in the terminal, can you find out.

you need to install

if you use .zshrc from kali
then you need to change these lines in .zshrc

if [-f /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh]; then
         . /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh


if [-f /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh]; then
         . /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

and this line

if [-f /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh]; then
     . /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh


if [-f /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh]; then
     . /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh

only change this line if you use arch/eos


here is a tutorial, that explains it well.

1 Like