[Share Experiences] Boost Productivity with oh-my-zsh Command Line Plugins
Tofloor
poster avatar
SuperDavid
deepin
2024-07-25 10:52
Author

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

image.png

Reply Favorite View the author
All Replies
Calculator
deepin
2024-08-02 04:46
#1
It has been deleted!