summaryrefslogtreecommitdiff
path: root/completion.zsh
diff options
context:
space:
mode:
authorJames Cox <james@imaj.es>2009-09-22 23:27:28 +0100
committerJames Cox <james@imaj.es>2009-09-22 23:27:28 +0100
commit89d86d869c298642e809dfa7530b7ef2539cd07f (patch)
treed017304eeac5fa857f5e197b48a29c350436033f /completion.zsh
parent7d511379c1eace3363433352a9e38831785d2e5e (diff)
downloadzsh-89d86d869c298642e809dfa7530b7ef2539cd07f.tar.gz
zsh-89d86d869c298642e809dfa7530b7ef2539cd07f.tar.bz2
zsh-89d86d869c298642e809dfa7530b7ef2539cd07f.zip
some todo notes, take @chris2's titlebar improvements and poke at completions
Diffstat (limited to 'completion.zsh')
-rw-r--r--completion.zsh11
1 files changed, 7 insertions, 4 deletions
diff --git a/completion.zsh b/completion.zsh
index dff71cfd3..c993620ce 100644
--- a/completion.zsh
+++ b/completion.zsh
@@ -1,6 +1,8 @@
+## fixme - the load process here seems a bit bizarre
+
setopt noautomenu
-setopt COMPLETE_IN_WORD
-setopt ALWAYS_TO_END
+setopt complete_in_word
+setopt always_to_end
unsetopt flowcontrol
@@ -17,9 +19,10 @@ zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' hosts $( sed 's/[, ].*$//' $HOME/.ssh/known_hosts )
-unsetopt MENU_COMPLETE
-setopt AUTO_MENU
+#unsetopt MENU_COMPLETE
+#setopt AUTO_MENU
+# should this be in keybindings?
bindkey -M menuselect '^o' accept-and-infer-next-history
zstyle ':completion:*:*:*:*:*' menu yes select