changeset 10 | 0afd98c7dab2 |
parent 9 | a38aec29a244 |
child 11 | 76f664f2183e |
3:0ba1e01ce178 | 4:ce2c832c4c38 |
---|---|
46 esac |
46 esac |
47 |
47 |
48 PROMPT=$'%{\e[35m%}%m%#%{\e[m%} ' |
48 PROMPT=$'%{\e[35m%}%m%#%{\e[m%} ' |
49 precmd() { RPROMPT="[$PWD]" } |
49 precmd() { RPROMPT="[$PWD]" } |
50 |
50 |
51 dirbase() { basename `pwd` } |
51 dirbase() { basename $PWD } |
52 chpwd() { [ "x$TERM" = "xscreen" ] && echo -n "\ek`hostname | cut -b 1-3`:`dirbase`\e\\" } |
52 chpwd() { [ "x$TERM" = "xscreen" ] && echo -n "\ek`hostname | cut -b 1-3`:`dirbase`\e\\" } |
53 |
53 |
54 chpwd |
54 chpwd |