From c69c8310a4b8285738449cc9245d0116b20bbe89 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Tue, 21 Oct 2014 12:44:25 +0200 Subject: [Prompts] no need to set CURDIR more than once --- 12_Prompts.zsh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/12_Prompts.zsh b/12_Prompts.zsh index d49b947..758bc3d 100644 --- a/12_Prompts.zsh +++ b/12_Prompts.zsh @@ -83,11 +83,10 @@ __update_prompt_elements() __term_title __set_prompt_date __hbar - - CURDIR=$C_$_prompt_colors[path]$_C"%(!.%d.%~)"$C_$color[none]$_C - } +CURDIR=$C_$_prompt_colors[path]$_C"%(!.%d.%~)"$C_$color[none]$_C + __error_code () { # Error -- cgit v1.2.3 From d007283a9f34d3dba6ae20e08cd82ee22239aa7f Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Thu, 17 Jul 2014 16:01:17 +0200 Subject: [Highlight] colors : adds all contents of highlight styles --- 13_ZshHighlight.zsh | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/13_ZshHighlight.zsh b/13_ZshHighlight.zsh index d2715f4..ac0ec21 100644 --- a/13_ZshHighlight.zsh +++ b/13_ZshHighlight.zsh @@ -38,6 +38,7 @@ ZSH_HIGHLIGHT_STYLES[function]="fg=cyan,bold,underline" ZSH_HIGHLIGHT_STYLES[history-expansion]="fg=blue" ZSH_HIGHLIGHT_STYLES[path]="fg=blue" +ZSH_HIGHLIGHT_STYLES[path_approx]="fg=red,bold,underline" ZSH_HIGHLIGHT_STYLES[globbing]="fg=blue,bold" ZSH_HIGHLIGHT_STYLES[commandseparator]="none" @@ -56,3 +57,35 @@ ZSH_HIGHLIGHT_STYLES[root]="standout" ZSH_HIGHLIGHT_STYLES[unknown-token]="fg=red,bold" +#ZSH_HIGHLIGHT_STYLES[cursor-matchingbracket]="fg=white,underline,bold" +#ZSH_HIGHLIGHT_STYLES[path_approx]="fg=yellow,underline" +#ZSH_HIGHLIGHT_STYLES[builtin]="fg=normal,bold" +#ZSH_HIGHLIGHT_STYLES[root]="standout" +#ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]="fg=yellow,bold" +#ZSH_HIGHLIGHT_STYLES[double-quoted-argument]="fg=yellow,bold" +#ZSH_HIGHLIGHT_STYLES[single-quoted-argument]="fg=green,bold" +#ZSH_HIGHLIGHT_STYLES[back-quoted-argument]="green" +#ZSH_HIGHLIGHT_STYLES[bracket-error]="fg=red,bold" +#ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]="fg=blue,bold" +#ZSH_HIGHLIGHT_STYLES[cursor]="bold" +#ZSH_HIGHLIGHT_STYLES[bracket-level-1]="fg=yellow,bold" +#ZSH_HIGHLIGHT_STYLES[double-hyphen-option]="fg=blue,bold" +#ZSH_HIGHLIGHT_STYLES[bracket-level-2]="fg=green" +#ZSH_HIGHLIGHT_STYLES[path]="fg=blue" +#ZSH_HIGHLIGHT_STYLES[precommand]="fg=blue,bold" +#ZSH_HIGHLIGHT_STYLES[bracket-level-3]="fg=cyan,bold" +#ZSH_HIGHLIGHT_STYLES[history-expansion]="fg=blue" +#ZSH_HIGHLIGHT_STYLES[globbing]="fg=blue,bold" +#ZSH_HIGHLIGHT_STYLES[bracket-level-4]="fg=blue" +#ZSH_HIGHLIGHT_STYLES[single-hyphen-option]="fg=blue" +#ZSH_HIGHLIGHT_STYLES[bracket-level-5]="fg=magenta" +#ZSH_HIGHLIGHT_STYLES[path_prefix]="underline" +#ZSH_HIGHLIGHT_STYLES[alias]="fg=cyan,underline" +#ZSH_HIGHLIGHT_STYLES[reserved-word]="fg=normal,bold,underline" +#ZSH_HIGHLIGHT_STYLES[commandseparator]="none" +#ZSH_HIGHLIGHT_STYLES[command]="fg=cyan" +#ZSH_HIGHLIGHT_STYLES[unknown-token]="fg=red,bold" +#ZSH_HIGHLIGHT_STYLES[default]="fg=cyan" +#ZSH_HIGHLIGHT_STYLES[assign]="fg=cyan" +#ZSH_HIGHLIGHT_STYLES[function]="fg=cyan,bold,underline" +#ZSH_HIGHLIGHT_STYLES[hashed-command]="fg=cyan,bold" -- cgit v1.2.3