My ZSH Config
wget https://github.com/n1kvas/zsh/raw/master/.zshrc -O ~/.zshrc
mkdir -p "$HOME/.zsh"
wget https://github.com/n1kvas/zsh/raw/master/.zsh/aliasrc -O ~/.zsh/aliasrc
git clone https://github.com/sindresorhus/pure.git "$HOME/.zsh/pure"
- zsh-syntax-highlighting - syntax highlighting for ZSH in standard repos
- autojump - jump to directories with j or jc for child or jo to open in file manager
- zsh-autosuggestions - Suggestions based on your history
Finish the conversion by changing your user in /etc/passwd to /bin/zsh instead of /bin/bash
- There are two main ways to install Zsh
- with the package manager of your choice, e.g.
sudo apt install zsh
(see below for more examples) - from source, following instructions from the Zsh FAQ
- Verify installation by running
zsh --version
. Expected result:zsh 5.4.2
or more recent. - Make it your default shell:
chsh -s $(which zsh)
- Note that this will not work if Zsh is not in your authorized shells list (
/etc/shells
) or if you don't have permission to usechsh
. If that's the case you'll need to use a different procedure. #Debian sudo su chsh -s /usr/bin/zsh root
- Log out and login back again to use your new default shell.
- Test that it worked with
echo $SHELL
. Expected result:/bin/zsh
or similar. - Test with
$SHELL --version
. Expected result: 'zsh 5.4.2' or similar