LoginSignup
14
12

More than 5 years have passed since last update.

zsh-syntax-highlightingでコマンドをハイライトしてみる

Posted at

コマンドをハイライトできるらしいので、
zsh-syntax-highlightingを入れてみた。

$ mkdir ~/.zsh
$ git clone git://github.com/zsh-users/zsh-syntax-highlighting.git ~/.zsh/zsh-syntax-highlighting

パスを追加

if [ -f ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]; then
    source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
fi

最後にexec $SHELLでできあがり。

おおお、これはいいですね。

14
12
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
12