| ... | ... |
@@ -19,7 +19,7 @@ zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:
|
| 19 | 19 |
zstyle ':completion:*' list-colors '' |
| 20 | 20 |
zstyle ':completion:*' hosts $( sed 's/[, ].*$//' $HOME/.ssh/known_hosts ) |
| 21 | 21 |
|
| 22 |
-#unsetopt MENU_COMPLETE |
|
| 22 |
+unsetopt MENU_COMPLETE |
|
| 23 | 23 |
#setopt AUTO_MENU |
| 24 | 24 |
|
| 25 | 25 |
# should this be in keybindings? |
| ... | ... |
@@ -31,3 +31,10 @@ zstyle ':completion:*:*:*:*:*' menu yes select |
| 31 | 31 |
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#) ([0-9a-z-]#)*=01;34=0=01' |
| 32 | 32 |
zstyle ':completion:*:*:*:*:processes' command "ps -u `whoami` -o pid,user,comm -w -w" |
| 33 | 33 |
zstyle ':completion:*:*:(ssh|scp):*:*' hosts `sed 's/^\([^ ,]*\).*$/\1/' ~/.ssh/known_hosts` |
| 34 |
+ |
|
| 35 |
+ |
|
| 36 |
+#complete on history |
|
| 37 |
+# zstyle ':completion:*:history-words' stop yes |
|
| 38 |
+# zstyle ':completion:*:history-words' remove-all-dups yes |
|
| 39 |
+# zstyle ':completion:*:history-words' list false |
|
| 40 |
+# zstyle ':completion:*:history-words' menu yes |
|
| 34 | 41 |
\ No newline at end of file |
| ... | ... |
@@ -1,19 +1,12 @@ |
| 1 | 1 |
export PAGER=less |
| 2 | 2 |
export LC_CTYPE=en_US.UTF-8 |
| 3 | 3 |
|
| 4 |
-bindkey -e |
|
| 4 |
+# speed stuff. |
|
| 5 | 5 |
|
| 6 |
-# Directory stuff. |
|
| 7 |
-setopt AUTO_NAME_DIRS |
|
| 8 |
- |
|
| 9 |
-# Speed stuff. |
|
| 10 |
- |
|
| 11 |
-#setopt NO_BEEP |
|
| 12 |
-setopt AUTO_CD |
|
| 13 |
-setopt MULTIOS |
|
| 14 |
-setopt CDABLEVARS |
|
| 15 |
- |
|
| 16 |
-bindkey -e |
|
| 6 |
+#setopt no_beep |
|
| 7 |
+setopt auto_cd |
|
| 8 |
+setopt multios |
|
| 9 |
+setopt cdablevarS |
|
| 17 | 10 |
|
| 18 | 11 |
if [[ x$WINDOW != x ]] |
| 19 | 12 |
then |