From dff73a7a8b4a51ead00e52db2689543048fec2aa Mon Sep 17 00:00:00 2001 From: Christophe Buffenoir Date: Fri, 3 May 2013 06:58:31 +0200 Subject: [PATCH] zsh history on up/down --- common/.zshrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/.zshrc b/common/.zshrc index e62f800..1e6d472 100644 --- a/common/.zshrc +++ b/common/.zshrc @@ -33,9 +33,6 @@ COMPLETION_WAITING_DOTS="true" # 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) -bindkey "^[[A" history-search-backward -bindkey "^[[B" history-search-forward - source $ZSH/oh-my-zsh.sh source ~/.zshrc-local 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]; } hl() { highlight --out-format=xterm256 -l ${argv} | less -R; } +bindkey "^[[A" history-search-backward +bindkey "^[[B" history-search-forward +