Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-dev
$PS1 var:
I think this should be the opposite, if the user isn't root let the user
know who they are.
And if they are root, give them the "supershell" without the user-name.
if [ `/usr/bin/whoami` == 'root' ] ; then
export PS1='\[\033[01;32;40m\]\u@\h \[\033[01;34;40m\]\W
>\[\033[00m\]'
export PATH=/sbin:/usr/sbin:$PATH
else
export PS1='\[\033[01;34;40m\]\W > \[\033[00m\]'
export PATH=$PATH
fi
----------------------------------------------------------------------
ls alias:
I think "alias ls='ls --color=auto'" should be in /etc/profile.
Most other distros have it and besides, it's a lot more readable.
I saw there were other aliases such as "alias d='ls --color'" but i've
never used them.
--
Morgan Christiansson
|
|