From dcaa3ab22a8ab251abf792f626da4f6bbd37622a Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Thu, 28 May 2020 16:44:15 +0300 Subject: [PATCH] Updated zsh-syntax-highlighting --- zsh/.zshrc | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 08beaf1..4aa6a4f 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -134,8 +134,8 @@ mailpath=( ~/mail/mbox"?Neue Nachrichten in =mbox" ~/mail/arbeit"?Neue Nachrichten in =arbeit" ) -alias arr="mutt -f =arbeit -e 'source ~/.mutt/accounts/stcnet.ru'" -alias rss="mutt -f =rss" +alias arr="mutt -f \=arbeit -e 'source ~/.mutt/accounts/stcnet.ru'" +alias rss="mutt -f \=rss" bindkey -s "OP" " inc\n" # F1 # }}} @@ -170,15 +170,18 @@ autoload -U complist ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets) . ~/work/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh typeset -A ZSH_HIGHLIGHT_STYLES +ZSH_HIGHLIGHT_STYLES[assign]="fg=cyan" +ZSH_HIGHLIGHT_STYLES[commandseparator]="fg=red" +ZSH_HIGHLIGHT_STYLES[single-hyphen-option]="fg=green,bold" +ZSH_HIGHLIGHT_STYLES[double-hyphen-option]="fg=green" ZSH_HIGHLIGHT_STYLES[globbing]="fg=magenta" ZSH_HIGHLIGHT_STYLES[history-expansion]="fg=magenta" -ZSH_HIGHLIGHT_STYLES[commandseparator]="fg=red" ZSH_HIGHLIGHT_STYLES[redirection]="fg=red" -ZSH_HIGHLIGHT_STYLES[assign]="fg=cyan" +ZSH_HIGHLIGHT_STYLES[path]="fg=white,underline" +ZSH_HIGHLIGHT_STYLES[path_pathseparator]="fg=white,bold,underline" # }}} # Autosuggestion {{{ . ~/work/zsh-autosuggestions/zsh-autosuggestions.zsh -ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=6" +ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=cyan" # }}} - -- 2.44.0