ソースを参照

Update INSTALL.md

- replaced ./ with ~/ to reduce bloat, this is because ./ would look in the current folder while ~/ looks in the home folder
- Made the command after git clone optional due to not needing it to install without a plugin manager
pull/949/head
Envixty 6ヶ月前
committed by GitHub
コミット
961b42af3a
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: B5690EEEBB952194
1個のファイルの変更5行の追加1行の削除
  1. +5
    -1
      INSTALL.md

+ 5
- 1
INSTALL.md ファイルの表示

@ -71,13 +71,17 @@ Simply clone this repository and source the script:
```zsh
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
```
Optional:
```zsh
echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
```
Then, enable syntax highlighting in the current interactive shell:
```zsh
source ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source ~/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
```
If `git` is not installed, download and extract a snapshot of the latest

読み込み中…
キャンセル
保存