comparison bash @ 54:fd518e13cf4d

[bash] for some reason solaris' PS1 \$ doesn't default to #.
author Edho Prima Arief <me@myconan.net>
date Thu, 28 Apr 2011 14:32:59 +0700
parents b9db5d89aae3
children c6d78ab9af22
comparison
equal deleted inserted replaced
53:b9db5d89aae3 54:fd518e13cf4d
3 [ -f .ecos_bash.before ] && . .ecos_bash.before 3 [ -f .ecos_bash.before ] && . .ecos_bash.before
4 4
5 PATH="${HOME}/.ecos_bin:${HOME}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" 5 PATH="${HOME}/.ecos_bin:${HOME}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
6 6
7 PS1="[\u@\h \W]\$ " 7 PS1="[\u@\h \W]\$ "
8 [ "$UID" = "0" ] && PS1="[\u@\h \W]# "
8 9
9 export PAGER="less -Rins" 10 export PAGER="less -Rins"
10 export EDITOR=vi 11 export EDITOR=vi
11 12
12 alias less="less -Rins" 13 alias less="less -Rins"