1 if [ -n "$HOME" ]; then
2 HISTFILE="$HOME/.zsh_history"
11 if [ "$TERM" = "rxvt-unicode" ]; then
12 [ -z "$COLORTERM" ] && export COLORTERM="rxvt-xpm"
13 [ -z "$COLORFGBG" ] && export COLORFGBG="15;default;0"
16 bindkey '\e[3~' delete-char
17 bindkey '\e[8~' end-of-line
18 bindkey '\e[7~' beginning-of-line
21 bindkey '\e[3~' delete-char
22 bindkey '\e[4~' end-of-line
23 bindkey '\e[1~' beginning-of-line
26 bindkey '\e[3~' delete-char
27 bindkey '\e[F' end-of-line
28 bindkey '\e[H' beginning-of-line
29 bindkey '\eOH' beginning-of-line
30 bindkey '\eOF' end-of-line
36 xterm*|rxvt*|Eterm|aterm|kterm|gnome*)
37 settitle() { print -Pn $'\e]0;%n@%m %33<...<%~%<<\a' }
40 settitle() { print -Pn $'\e_%n@%m %33<...<%~%<<\e\\' }
50 if [[ -n "$__NEWRUN" ]]; then
51 RPS1=$'%(0?,,%{\e[31;1m%}RC=%?%{\e[0m%})'
62 if [ -n "$COLORTERM" ]; then
63 PS1=$'%(!,%{\e[31;1m%},%{\e[32;1m%}%n@)%m%{\e[34;1m%} %33<...<%~%<< %#%{\e[0m%} '
65 # Random colour-related options
66 export MINICOM="-c on"
68 PS1='%n@%m %33<...<%~%<< %# '
71 if [[ -n "$SSH_CONNECTION" ]]; then
76 alias ls='ls --color=auto'
77 alias grep='grep --color=auto'