Logic to generate the window title and RPROMPT has been yet optimized.
6 setopt hist_ignore_dups
8 setopt magic_equal_subst
11 fpath=($fpath /usr/share/zsh/functions/Zle)
16 autoload history-search-end
17 zle -N history-beginning-search-backward-end history-search-end
18 zle -N history-beginning-search-forward-end history-search-end
19 bindkey '^P' history-beginning-search-backward-end
20 bindkey '^N' history-beginning-search-forward-end
26 export JLESSCHARSET=ja
27 export LS_COLORS="di=31:ex=34:ln=46:pi=0:so=0:cd=0:bd=0"
29 alias ls="ls --color=tty"
31 alias lynx="lynx -nopause"
35 alias ls="gnuls --color=tty"
41 alias ls="ls --color=tty --show-control-chars"
42 if [ -e ${HOME}/.zshrc.cygwin ]; then
43 source ${HOME}/.zshrc.cygwin
48 PROMPT=$'%{\e[35m%}%m%#%{\e[m%} '
50 HOST3=`hostname | cut -b 1-3`
52 local PWD2=${PWD/#$HOME/\~}
54 local DBASE=${DTRUN:-/}
56 [ "x$TERM" = "xscreen" ] && echo -n "\ek$HOST3:$DBASE\e\\"