]> git.pld-linux.org Git - packages/zsh.git/blame - zshrc
- updated to 4.2.5
[packages/zsh.git] / zshrc
CommitLineData
3cad6678
TP
1# for interactive shell
2
3alias which=whence
4alias cd='builtin cd'
5alias precmd=' precmd'
6
7d939b92 7# SYSTEM WIDE ALIASES ETC.
8for i in `find /etc/shrc.d -name '*.sh'` ; do
9 . $i
10done
11unset i
12
0535ffe2 13setopt hist_ignore_space hist_ignore_all_dups list_packed transient_rprompt
adef8d5b 14
e78c1504 15stty erase `tput kbs`
3cad6678
TP
16bindkey -e >/dev/null 2>&1
17
18bindkey `tput khome` beginning-of-line >/dev/null 2>&1
19bindkey `tput kend` end-of-line >/dev/null 2>&1
20bindkey `tput kich1` quoted-insert >/dev/null 2>&1
21bindkey `tput kdch1` delete-char >/dev/null 2>&1
22bindkey `tput kpp` up-history >/dev/null 2>&1
23bindkey `tput knp` end-of-history >/dev/null 2>&1
24bindkey `tput kcuu1` history-beginning-search-backward >/dev/null 2>&1
25bindkey `tput kcud1` history-beginning-search-forward >/dev/null 2>&1
26
27case "$TERM" in
28 xterm*)
97724a83 29 precmd () { print -Pn "\e]0;%n@%m: %~\a" }
3cad6678
TP
30 bindkey '^[[H' beginning-of-line >/dev/null 2>&1
31 bindkey '^[[F' end-of-line >/dev/null 2>&1
32 ;;
33esac
This page took 0.030426 seconds and 4 git commands to generate.