Mercurial > ec-dotfiles
changeset 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 |
files | bash |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/bash Thu Apr 28 09:42:37 2011 +0700 +++ b/bash Thu Apr 28 14:32:59 2011 +0700 @@ -5,6 +5,7 @@ PATH="${HOME}/.ecos_bin:${HOME}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" PS1="[\u@\h \W]\$ " +[ "$UID" = "0" ] && PS1="[\u@\h \W]# " export PAGER="less -Rins" export EDITOR=vi