Zsh missing or unable to start on Kali linux 2020.3 after upgrade? - How to Start or fix missing Zsh on Kali Linux 2020.3 [Beginner's guide]

 Kali Linux 2020.3 was released a week before, and one of the big change announced by the team is  changing the default bash to the Zsh on the upcoming version of Kali Linux 2020.4 and Onwards. Though it will be default starting 2020.4 there are lot of users who just want to try what this zsh looks like because of its autocomplete and other features. One of our blog reader contacted me and want to know the steps. Though i guided him, i thought it would be helpful for other readers who want to use or try this.


Zsh missing or unable to start on Kali linux 2020.3 after upgrade? - How to Start or fix missing Zsh on Kali Linux 2020.3 [Beginner's guide]

So, If you are one of the person who feels that zsh is missing on your upgraded Kali linux 2020.3 or doesn't know how to start zsh or replace bash with zsh in this latest version Kali Linux 2020.3 then i hope it will be helpful for you too..

So, here we go..

How to start or fix missing zsh on Kali Linux 2020.3

The solution will little bit vary for users who did fresh install of Kali linux and who had just upgraded from previous version of Kali Linux 2020.2.

If you did a fresh install of Kali Linux 2020.3 then you can simply launch the zsh by opening terminal and zsh.

However, if you had upgraded and typed just zsh then you will get the following message.

This is the Z Shell configuration function for new users,
zsh-newuser-install.
You are seeing this message because you have no zsh startup files
(the files .zshenv, .zprofile, .zshrc, .zlogin in the directory
~).  This function can help you with a few settings that should
make your use of the shell easier.

You can:

(q)  Quit and do nothing.  The function will be run again next time.

(0)  Exit, creating the file ~/.zshrc containing just a comment.
     That will prevent this function being run again.

(1)  Continue to the main menu.

(2)  Populate your ~/.zshrc with the configuration recommended
     by the system administrator and exit (you will need to edit
     the file by hand, if so desired).

--- Type one of the keys in parentheses --- 

So, what are we missing here? do we have to freshly install the Zsh even after upgrade?

No, we just have to run a simple command and then will be fixed because this is by default installed by our system when we upgraded to Kali Linux 2020.3

Just open terminal, and type or copy paste below command..

cp /etc/skel/.zshrc ~/

Hit Enter and now type Zsh and enter.

That's it..

I guess i don't need to explain what that command will do, if you don't know then nothing to worry, man is your friend hope you got that๐Ÿ˜€๐Ÿ˜€.

You will see the Zsh being started..

Hope it is helpful. Happy breaking:)

Related Posts