prompt and time zone
McLone
mclone at gmail.com
Sun Mar 28 07:20:12 PDT 2010
On Sun, Mar 28, 2010 at 6:36 AM, Pierre Abbat <phma at phma.optus.nu> wrote:
> Is there a way to set the default prompt? All users can set their own prompt,
> but there's a default, which could contain the current directory and user
> name.
according to bash(1), there is system-wide /etc/profile
sh(1) also should use it, so you can script it such that
it will behave differently for bash and sh,
maybe via $SHELL or even $SHLVL .
I did not checked if prompt setting will work (i don't bash),
but it surely should.
--
wbr, |\ _,,,---,,_ dog bless ya!
` Zzz /,`.-'`' -. ;-;;,_
McLone at GMail dot com |,4- ) )-,_. ,\ ( `'-'
net- and *BSD admin '---''(_/--' `-'\_) ...translit rawx!
More information about the Users
mailing list