Mercurial > ec-dotfiles
comparison rc/zsh @ 127:a7484f2c9616
Long-overdue massive reorganization.
| author | Edho Prima Arief <edho@myconan.net> |
|---|---|
| date | Thu, 27 Oct 2011 16:23:23 +0700 |
| parents | zsh@d9aace34d144 |
| children |
comparison
equal
deleted
inserted
replaced
| 126:9a15f3d1b5b0 | 127:a7484f2c9616 |
|---|---|
| 1 #!/usr/bin/env zsh | |
| 2 [ -f "${HOME}/.ecos_zsh.before" ] && . "${HOME}/.ecos_zsh.before" | |
| 3 case $TERM in | |
| 4 xterm*|screen*) | |
| 5 precmd () {print -Pn "\e]0;%n@%m: %~\a"} | |
| 6 ;; | |
| 7 esac | |
| 8 PS1='[%n@%m %~]%% ' | |
| 9 export PATH="${HOME}/.ecos_bin:${PATH}" | |
| 10 HISTFILE=~/.histfile | |
| 11 HISTSIZE=10000 | |
| 12 SAVEHIST=10000 | |
| 13 setopt appendhistory nomatch | |
| 14 unsetopt autocd beep extendedglob notify | |
| 15 bindkey -e | |
| 16 bindkey '^[[A' history-search-backward | |
| 17 bindkey '^[[B' history-search-forward | |
| 18 | |
| 19 autoload -Uz compinit | |
| 20 compinit | |
| 21 | |
| 22 export EDITOR=vi | |
| 23 export PAGER='less -Rins' | |
| 24 alias less='less -Rins' | |
| 25 alias ls='ls -F' | |
| 26 [ -f "${HOME}/.ecos_zsh.after" ] && . "${HOME}/.ecos_zsh.after" |
