]> git.pld-linux.org Git - packages/zsh.git/blame - zshrc
- moved from zsh.spec to the right place
[packages/zsh.git] / zshrc
CommitLineData
3cad6678
TP
1# for interactive shell
2
3alias which=whence
4alias cd='builtin cd'
5alias precmd=' precmd'
6
7bindkey -e >/dev/null 2>&1
8
9bindkey `tput khome` beginning-of-line >/dev/null 2>&1
10bindkey `tput kend` end-of-line >/dev/null 2>&1
11bindkey `tput kich1` quoted-insert >/dev/null 2>&1
12bindkey `tput kdch1` delete-char >/dev/null 2>&1
13bindkey `tput kpp` up-history >/dev/null 2>&1
14bindkey `tput knp` end-of-history >/dev/null 2>&1
15bindkey `tput kcuu1` history-beginning-search-backward >/dev/null 2>&1
16bindkey `tput kcud1` history-beginning-search-forward >/dev/null 2>&1
17
18case "$TERM" in
19 xterm*)
20 precmd () { print -Pn "\e]0;%n@%m: %~\a"i; }
21 bindkey '^[[H' beginning-of-line >/dev/null 2>&1
22 bindkey '^[[F' end-of-line >/dev/null 2>&1
23 ;;
24esac
25
This page took 0.02552 seconds and 4 git commands to generate.