Installation zsh oh-my-zsh configuration and auto-complete widget
Others
2019-10-23 01:40:19
views: null
Linux Learning Notes
Installation zsh Centsos oh-my-zsh configuration and auto-completion tool
- View the current shell
echo $SHELL
- Install zsh
yum install -y zsh
- Switch the default shell
chsh -s /bin/zsh
- Install git
yum install -y git
- Installation oh-my-zsh
- Automatic installation
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Installation Manual
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
- Copy the configuration file
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
- Modify Subject
vim .zshrc 修改ZSH_THEME="ys”
- Installation of automatic completion plugin
's official website: Incremental ON zsh Completion
wget -O incr-0.2.zsh https://mimosa-pudica.net/src/incr-0.2.zsh
source incr*.zsh
- Reopen the terminal to validate the configuration
Origin www.cnblogs.com/ShawnChan/p/11723626.html