.zshrc
changeset 2 56b84756a819
parent 0 5771d060b6cb
child 8 259bcb382069
equal deleted inserted replaced
0:fef04a300e15 1:0385403c4efd
    42 	alias less=jless
    42 	alias less=jless
    43 	;;
    43 	;;
    44     cygwin)
    44     cygwin)
    45         alias start=cygstart
    45         alias start=cygstart
    46 	alias ls="ls --color=tty --show-control-chars"
    46 	alias ls="ls --color=tty --show-control-chars"
       
    47         if [ -e ${HOME}/.zshrc.cygwin ]; then
       
    48             source ${HOME}/.zshrc.cygwin
       
    49         fi
    47 	;;
    50 	;;
    48 esac
    51 esac
    49 
    52 
    50 PROMPT=$'%{\e[35m%}%m%#%{\e[m%} '
    53 PROMPT=$'%{\e[35m%}%m%#%{\e[m%} '
    51 precmd() { RPROMPT="[$PWD]" }
    54 precmd() { RPROMPT="[$PWD]" }
    52 
    55 
    53 dirbase() { basename `pwd` }
    56 dirbase() { basename `pwd` }
    54 chpwd() { [ "x$TERM" = "xscreen" ] && echo -n "\ek`hostname | cut -b 1-3`:`dirbase`\e\\" }
    57 chpwd() { [ "x$TERM" = "xscreen" ] && echo -n "\ek`hostname | cut -b 1-3`:`dirbase`\e\\" }
    55 
    58 
    56 chpwd
    59 chpwd
    57 
       
    58 if [ -e ${HOME}/.zshrc.local ]; then
       
    59     source ${HOME}/.zshrc.local
       
    60 fi
       
    61