]> git.pld-linux.org Git - packages/zsh.git/blob - zshrc
- moved from zsh.spec to the right place
[packages/zsh.git] / zshrc
1 # for interactive shell
2
3 alias which=whence
4 alias cd='builtin cd'
5 alias precmd=' precmd'
6
7 bindkey -e >/dev/null 2>&1
8
9 bindkey `tput khome` beginning-of-line >/dev/null 2>&1
10 bindkey `tput kend` end-of-line >/dev/null 2>&1
11 bindkey `tput kich1` quoted-insert >/dev/null 2>&1
12 bindkey `tput kdch1` delete-char >/dev/null 2>&1
13 bindkey `tput kpp` up-history >/dev/null 2>&1
14 bindkey `tput knp` end-of-history >/dev/null 2>&1
15 bindkey `tput kcuu1` history-beginning-search-backward >/dev/null 2>&1
16 bindkey `tput kcud1` history-beginning-search-forward >/dev/null 2>&1
17
18 case "$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                 ;;
24 esac
25
This page took 0.058119 seconds and 4 git commands to generate.