bindkey "\ep" history-beginning-search-backward
bindkey "\en" history-beginning-search-forward
+bindkey "\e," _history-complete-older
+
+for i in '!' '$' '@' '/' '~'; do
+ bindkey "\e$i" _bash_complete-word
+ bindkey "^X$i" _bash_list-choices
+done
setopt interactive_comments
bindkey "\e#" pound-insert