Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install zsh-syntax-highlighting

# Clone this repository into $ZSH_CUSTOM/plugins (by default ~/.oh-my-zsh/custom/plugins)
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

# Add the plugin to the list of plugins for Oh My Zsh to load (inside ~/.zshrc):
# plugins=(zsh-syntax-highlighting)
Comment

zsh syntax highlighting plugin

In your ~/.zshrc
Simply clone this repository and source the script:

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc

Then, enable syntax highlighting in the current interactive shell:

source ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
If git is not installed, download and extract a snapshot of the latest development tree from:

https://github.com/zsh-users/zsh-syntax-highlighting/archive/master.tar.gz
Note the source command must be at the end of ~/.zshrc.
Comment

install zsh-syntax-highlighting

sudo apt install -y zsh-syntax-highlighting
Comment

install zsh-syntax-highlighting

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
Comment

PREVIOUS NEXT
Code Example
Shell :: make a commit with past date 
Shell :: command prompt cd back 
Shell :: apache .htaccess Option ubuntu 
Shell :: update all snap packages 
Shell :: install node brew 
Shell :: how to upgrade snap packages 
Shell :: pip silent install 
Shell :: install jq on windows 
Shell :: bash get timestamp 
Shell :: change docker folder windows 
Shell :: whybar not showing icons 
Shell :: sudo command without giving password 
Shell :: rename username ubuntu 20.04 
Shell :: find command also return directory names? 
Shell :: Install Sublime in Linux (Stable) 
Shell :: how to uninstall apps without admin password 
Shell :: hstr editor 
Shell :: brew error 
Shell :: how to push code to github from vscode 
Shell :: fsl reg 
Shell :: gpg change password 
Shell :: git track lfs 
Shell :: stop minecraft server command line 
Shell :: uninstall gitkraken in ubuntu 
Shell :: install qt4-qmake ubuntu 
Shell :: git stash show files changed 
Shell :: nginx: invalid option: "restart" 
Shell :: how to tar linux 
Shell :: bash only print duplicated lines 
Shell :: install pydotplus by pip ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
8+7 =