zsh

  1. install and fine tune zsh
    1. install zsh
    2. install on-my-zsh
    3. install Powerline10K
    4. install plugins
    5. install in one step
  2. combine with other softwared
    1. conda
    2. screen

install and fine tune zsh

install zsh

Ubuntu:

1
2
3
apt install zsh
chsh -s /bin/zsh # set it default shell
# echo $SHELL

install on-my-zsh

1
2
wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh
bash install.sh

install Powerline10K

1
2
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
vim ~/.zshrc # ZSH_THEME="powerlevel10k/powerlevel10k"

install plugins

1
2
3
git clone --depth=1 git://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/plugins/zsh-syntax-highlighting
vim ~/.zshrc # plugins=(git zsh-autosuggestions zsh-syntax-highlighting)

install in one step

1
2
3
git clone http://gitee.com/zzqq2199/my_zsh.git
cd my_zsh
bash install.sh

combine with other softwared

conda

1
2
3
# find where your conda locates
cd ~/anaconda3/bin
conda init zsh

screen

1
echo shell \"/usr/bin/zsh\" > ~/.screenrc

转载请注明来源,欢迎对文章中的引用来源进行考证,欢迎指出任何有错误或不够清晰的表达。