comparison zsh @ 73:d9aace34d144

[zsh] Bindkey sanity. Still not sane enough.
author Edho Prima Arief <me@myconan.net>
date Sat, 04 Jun 2011 19:24:48 +0700
parents c8c3e4bc4850
children
comparison
equal deleted inserted replaced
72:cb20a159ab00 73:d9aace34d144
4 xterm*|screen*) 4 xterm*|screen*)
5 precmd () {print -Pn "\e]0;%n@%m: %~\a"} 5 precmd () {print -Pn "\e]0;%n@%m: %~\a"}
6 ;; 6 ;;
7 esac 7 esac
8 PS1='[%n@%m %~]%% ' 8 PS1='[%n@%m %~]%% '
9 export PATH="${HOME}/.ecos_bin:${PATH}"
9 HISTFILE=~/.histfile 10 HISTFILE=~/.histfile
10 HISTSIZE=10000 11 HISTSIZE=10000
11 SAVEHIST=10000 12 SAVEHIST=10000
12 setopt appendhistory nomatch 13 setopt appendhistory nomatch
13 unsetopt autocd beep extendedglob notify 14 unsetopt autocd beep extendedglob notify
14 bindkey -e 15 bindkey -e
16 bindkey '^[[A' history-search-backward
17 bindkey '^[[B' history-search-forward
18
15 autoload -Uz compinit 19 autoload -Uz compinit
16 compinit 20 compinit
17 21
18 export EDITOR=vi 22 export EDITOR=vi
19 export PAGER='less -Rins' 23 export PAGER='less -Rins'