summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@qosmos.com>2014-10-21 16:55:28 +0200
committerHugues Hiegel <hugues.hiegel@qosmos.com>2014-10-21 16:55:28 +0200
commitc2460624c2614c3502fb00125d0064562d729dfe (patch)
tree165fea51a15a5ac0c5ecdd4b30c8d09c4f735ad2
parent6bea753d964e23c21a85a613f02568159b84100a (diff)
parent4b8aed48f33ec678953291dc28391b69074a7d64 (diff)
Merge branch 'master' into HackyGit
-rw-r--r--13_ZshHighlight.zsh12
-rw-r--r--user:hugues/GusBindings.zsh6
2 files changed, 10 insertions, 8 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"
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'