Change default shell from bash to zsh by default?

Made zshrc and some others misc scripts to be portable to any shell (.aliasrc, .shrc are posix compliant).

Please download the following packages:

sudo apt install zsh zsh-syntax-highlighting zsh-autosuggestions

Copy the dot files to the home dir.

If you want the developer prompt, uncomment it whonix-shell/.zshrc at b835e3eeac83cbbb4eca2bd3c845a7aa497dccea · nyxnor/whonix-shell · GitHub
basically it shorts the path if too large and also show git branch

and whonix-shell/.zshrc at b835e3eeac83cbbb4eca2bd3c845a7aa497dccea · nyxnor/whonix-shell · GitHub
uncomment the RPS1 if you want it to print the exit code of failed commands on the right side.

Tell me what you think, what should be changed, bugs etc.

1 Like