From d80fc289620a77e282f3fbef3bcce1ddd5dcd25b Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Wed, 5 Mar 2014 09:01:54 +0100 Subject: [Keys] sudo/eval on current command, not previous. --- user:hugues/GusBindings.zsh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/user:hugues/GusBindings.zsh b/user:hugues/GusBindings.zsh index d52d173..2569797 100644 --- a/user:hugues/GusBindings.zsh +++ b/user:hugues/GusBindings.zsh @@ -229,9 +229,11 @@ do bindkey -M $keymap -s '^[g' '^[Q git st .\n' bindkey -M $keymap -s '^[G' '^[Q git fetchall\n' - bindkey -M $keymap -s '^[E' '^[Q eval $( !! )' + #bindkey -M $keymap -s '^[E' '^[Q eval $( !! )' + bindkey -M $keymap -s '^[E' '^A eval $( ^E )' - bindkey -M $keymap -s '^[S' '^[Q sudo !!' + #bindkey -M $keymap -s '^[S' '^[Q sudo !!' + bindkey -M $keymap -s '^[S' '^A sudo ^E' bindkey -M $keymap -s '^[X' '^[Q kill -USR1 $$\n' -- cgit v1.2.3 From 4b8aed48f33ec678953291dc28391b69074a7d64 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Fri, 11 Jul 2014 12:26:09 +0200 Subject: [Colors] new zsh-highlight colors --- 13_ZshHighlight.zsh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/13_ZshHighlight.zsh b/13_ZshHighlight.zsh index d2715f4..009f823 100644 --- a/13_ZshHighlight.zsh +++ b/13_ZshHighlight.zsh @@ -24,28 +24,28 @@ ZSH_HIGHLIGHT_STYLES[bracket-level-2]="fg=green" ZSH_HIGHLIGHT_STYLES[bracket-level-3]="fg=cyan,bold" ZSH_HIGHLIGHT_STYLES[bracket-level-4]="fg=blue" ZSH_HIGHLIGHT_STYLES[bracket-level-5]="fg=magenta" -ZSH_HIGHLIGHT_STYLES[cursor-matchingbracket]="fg=white,underline,bold" +ZSH_HIGHLIGHT_STYLES[cursor-matchingbracket]="fg=black,bg=yellow,bold" ZSH_HIGHLIGHT_STYLES[precommand]="fg=blue,bold" ZSH_HIGHLIGHT_STYLES[reserved-word]="fg=normal,bold,underline" ZSH_HIGHLIGHT_STYLES[builtin]="fg=normal,bold" -ZSH_HIGHLIGHT_STYLES[command]="fg=cyan" +ZSH_HIGHLIGHT_STYLES[command]="fg=blue,bold" ZSH_HIGHLIGHT_STYLES[hashed-command]="fg=cyan,bold" ZSH_HIGHLIGHT_STYLES[alias]="fg=cyan,underline" ZSH_HIGHLIGHT_STYLES[function]="fg=cyan,bold,underline" ZSH_HIGHLIGHT_STYLES[history-expansion]="fg=blue" -ZSH_HIGHLIGHT_STYLES[path]="fg=blue" -ZSH_HIGHLIGHT_STYLES[globbing]="fg=blue,bold" +ZSH_HIGHLIGHT_STYLES[path]="fg=green" +ZSH_HIGHLIGHT_STYLES[globbing]="fg=yellow" ZSH_HIGHLIGHT_STYLES[commandseparator]="none" ZSH_HIGHLIGHT_STYLES[cursor]="bold" ZSH_HIGHLIGHT_STYLES[single-hyphen-option]="fg=blue" -ZSH_HIGHLIGHT_STYLES[double-hyphen-option]="fg=blue,bold" +ZSH_HIGHLIGHT_STYLES[double-hyphen-option]="fg=blue" ZSH_HIGHLIGHT_STYLES[single-quoted-argument]="fg=green,bold" ZSH_HIGHLIGHT_STYLES[double-quoted-argument]="fg=yellow,bold" @@ -54,5 +54,5 @@ ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]="fg=blue,bold" ZSH_HIGHLIGHT_STYLES[root]="standout" -ZSH_HIGHLIGHT_STYLES[unknown-token]="fg=red,bold" +ZSH_HIGHLIGHT_STYLES[unknown-token]="fg=magenta" -- cgit v1.2.3