zsh history on up/down
This commit is contained in:
parent
aeb11d0c8e
commit
dff73a7a8b
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue