Boost Productivity by Installing Terminal Command Line Completion Plugins with oh-my-zsh
https://github.com/ohmyzsh/ohmyzsh
https://ohmyz.sh/
Installation
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
sh -c "$(curl -fsSL
https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh
For users in China:
sh -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
https://ghproxy.com/https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Install Plugins
To install zsh command line autosuggestions, run the following command:
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone
https://github.com/zsh-users/zsh-autosuggestions.git
$ZSH_CUSTOM/plugins/zsh-autosuggestions
To install zsh syntax highlighting, run the following command:
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
https://github.com/zsh-users/zsh-syntax-highlighting.git
$ZSH_CUSTOM/plugins/zsh-syntax-highlighting
Modify Configuration File
Edit the ~/.zshrc file to set the plugins:
~/.zshrc
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
Note: The relevant omz configuration must be added before source $ZSH/oh-my-zsh.sh
source $ZSH/oh-my-zsh.sh
Popular Ranking
Popular Events
Boost Productivity by Installing Terminal Command Line Completion Plugins with oh-my-zsh
https://github.com/ohmyzsh/ohmyzsh
https://ohmyz.sh/
Installation
sh -c "$(curl -fsSL
https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh
)"For users in China:
sh -c "$(curl -fsSL
https://ghproxy.com/https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Install Plugins
To install zsh command line autosuggestions, run the following command:
git clone
https://github.com/zsh-users/zsh-autosuggestions.git
$ZSH_CUSTOM/plugins/zsh-autosuggestions
To install zsh syntax highlighting, run the following command:
git clone
https://github.com/zsh-users/zsh-syntax-highlighting.git
$ZSH_CUSTOM/plugins/zsh-syntax-highlighting
Modify Configuration File
Edit the
~/.zshrc
file to set the plugins:plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
Note: The relevant omz configuration must be added before
source $ZSH/oh-my-zsh.sh