-
Install zsh and zplug
- zsh
apt install zsh
- zplug
curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh
- zsh
-
grc
apt install grc
-
exa
-
Install by apt (Ubuntu 20.10 up)
apt install exa
-
Install manually (https://the.exa.website/install/linux#manual) (Remember to
chown
andchmod
)
-
-
Nerd Fonts for Powerlevel 10k
- Download the
Hack.zip
from (https://github.com/ryanoasis/nerd-fonts/releases). - Install the
Mono Windows
one. (at cilent) - Set the font based on your terminal tutorial. (https://github.com/romkatv/powerlevel10k/blob/master/README.md#fonts)
- Download the
-
Config files
- Put
.p10k.zsh
,.zshrc
, and.zprofile
in your home directory. - if you use conda please init conda:
conda init zsh
- if you want to use zsh-autocomplete
- uncomment
source ~/zsh-autocomplete/zsh-autocomplete.plugin.zsh
in.zshrc
- download marlonrichert/zsh-autocomplete, In $HOME,
git clone https://github.com/marlonrichert/zsh-autocomplete.git
- uncomment
- .zprofile are writed for
tsehou
, you may want to modified according to your demand
- Put
exec zsh
If everything is alright, change your default shell.
chsh -s $(which zsh)
Everytime you make a change to .zshrc
or .zprofile
, use exec zsh
to reload and make it works.
- how to change your prompt color