zsh history on up/down

This commit is contained in:
Christophe Buffenoir 2013-05-03 06:58:31 +02:00
parent aeb11d0c8e
commit dff73a7a8b

View file

@ -33,9 +33,6 @@ COMPLETION_WAITING_DOTS="true"
# Example format: plugins=(rails git textmate ruby lighthouse) # Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git mercurial battery colorize debian django go pip python svn tmux vi-mode command-not-found) plugins=(git mercurial battery colorize debian django go pip python svn tmux vi-mode command-not-found)
bindkey "^[[A" history-search-backward
bindkey "^[[B" history-search-forward
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
source ~/.zshrc-local source ~/.zshrc-local
source ~/.zshrc-local-theme source ~/.zshrc-local-theme
@ -101,3 +98,6 @@ pakunoda() { ssc pakunoda.kujiu.org ${argv[-1]:-`whoami`} 22 $argv[1,-2];
hisoka() { ssc hisoka.kujiu.org ${argv[-1]:-`whoami`} 22 $argv[1,-2]; } hisoka() { ssc hisoka.kujiu.org ${argv[-1]:-`whoami`} 22 $argv[1,-2]; }
hl() { highlight --out-format=xterm256 -l ${argv} | less -R; } hl() { highlight --out-format=xterm256 -l ${argv} | less -R; }
bindkey "^[[A" history-search-backward
bindkey "^[[B" history-search-forward