add shell syntax highlighting
This commit is contained in:
@@ -12,8 +12,8 @@ setopt AUTO_PUSHD # Push the current directory visited on the stack.
|
||||
setopt PUSHD_IGNORE_DUPS # Do not store duplicates in the stack.
|
||||
setopt PUSHD_SILENT # Do not print the directory stack after pushd or popd.
|
||||
|
||||
alias d='dirs -v'
|
||||
for index ({1..9}) alias "c$index"="cd +${index}"; unset index
|
||||
# install zsh-syntax-highlighting
|
||||
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
|
||||
bindkey "^[[1;5C" forward-word
|
||||
bindkey "^[[1;5D" backward-word
|
||||
|
||||
Reference in New Issue
Block a user