zsh
安装
1 | sudo apt install zsh |
切换zsh
1 | chsh -s /bin/zsh |
查看
1 | echo $SHELL |
oh-my-zsh
安装
1 | git clone https://github.com/ohmyzsh/ohmyzsh.git ~/.oh-my-zsh |
配置zsh
1 | # 拷贝一个模板配置 |
使之生效
1 | source ~/.zshrc |
1 | sudo apt install zsh |
1 | chsh -s /bin/zsh |
1 | echo $SHELL |
1 | git clone https://github.com/ohmyzsh/ohmyzsh.git ~/.oh-my-zsh |
1 | # 拷贝一个模板配置 |
1 | source ~/.zshrc |