DragonFly users List (threaded) for 2010-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: prompt and time zone
On Sun, Mar 28, 2010 at 6:36 AM, Pierre Abbat <phma@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!
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]