Add command-line as-you-type highlighting for zsh

This commit is contained in:
2012-08-13 02:31:09 +01:00
parent a9cacc7c2a
commit 59b6b30e2d
3 changed files with 14 additions and 0 deletions

3
.gitmodules vendored
View File

@@ -10,3 +10,6 @@
[submodule "shell/tmux/tmuxifier"]
path = shell/tmux/tmuxifier
url = git@github.com:jimeh/tmuxifier.git
[submodule "shell/zsh/zsh-syntax-highlighting"]
path = shell/zsh/zsh-syntax-highlighting
url = git://github.com/zsh-users/zsh-syntax-highlighting.git

View File

@@ -51,3 +51,13 @@ unalias shotgun
# Cause I hit emacs shorts too much
bindkey -s "\C-x\C-f" "cd "
#
# Z-Shell Command Highlighting
#
# Highlighters
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)
source "$DOTZSH/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"