@@ -33,17 +33,17 @@ See also [repology's cross-distro index](https://repology.org/metapackage/zsh-sy
33
33
34
34
Simply clone this repository and source the script:
35
35
36
- git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
37
- echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
36
+ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
37
+ echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
38
38
39
39
Then, enable syntax highlighting in the current interactive shell:
40
40
41
- source ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
41
+ source ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
42
42
43
43
If ` git ` is not installed, download and extract a snapshot of the latest
44
44
development tree from:
45
45
46
- https://github.com/zsh-users/zsh-syntax-highlighting/archive/master.tar.gz
46
+ https://github.com/zsh-users/zsh-syntax-highlighting/archive/master.tar.gz
47
47
48
48
Note the ` source ` command must be ** at the end** of ` ~/.zshrc ` .
49
49
@@ -69,15 +69,15 @@ your `.zshrc`.
69
69
70
70
1 . Clone this repository in oh-my-zsh's plugins directory:
71
71
72
- git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
72
+ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
73
73
74
74
2 . Activate the plugin in ` ~/.zshrc ` :
75
75
76
- plugins=( [plugins...] zsh-syntax-highlighting)
76
+ plugins=( [plugins...] zsh-syntax-highlighting)
77
77
78
78
3 . Source ` ~/.zshrc ` to take changes into account:
79
79
80
- source ~/.zshrc
80
+ source ~/.zshrc
81
81
82
82
#### [ Prezto] ( https://github.com/sorin-ionescu/prezto )
83
83
0 commit comments