64
|
1 #!/usr/bin/env zsh
|
|
2 [ -f "${HOME}/.ecos_zsh.before" ] && . "${HOME}/.ecos_zsh.before"
|
68
|
3 case $TERM in
|
|
4 xterm*|screen*)
|
|
5 precmd () {print -Pn "\e]0;%n@%m: %~\a"}
|
|
6 ;;
|
|
7 esac
|
64
|
8 PS1='[%n@%m %~]%% '
|
66
|
9 HISTFILE=~/.histfile
|
|
10 HISTSIZE=10000
|
|
11 SAVEHIST=10000
|
|
12 setopt appendhistory nomatch
|
|
13 unsetopt autocd beep extendedglob notify
|
|
14 bindkey -e
|
|
15 autoload -Uz compinit
|
|
16 compinit
|
|
17
|
69
|
18 export EDITOR=vi
|
|
19 export PAGER='less -Rins'
|
|
20 alias less='less -Rins'
|
64
|
21 alias ls='ls -F'
|
|
22 [ -f "${HOME}/.ecos_zsh.after" ] && . "${HOME}/.ecos_zsh.after"
|