From: Helge Pettersen <tubamann@gmail.com>
To: linux-admin@vger.kernel.org
Subject: Re: Set the prompt.
Date: Wed, 3 Nov 2004 20:00:15 +0100 [thread overview]
Message-ID: <e29bf9c5041103110040b4f1b8@mail.gmail.com> (raw)
In-Reply-To: <e29bf9c50411031057125227a@mail.gmail.com>
Try
PS1="\h \w"
export PS1
That will do the trick, but it looks like something not so nice.
PS1="\h \w $ "
is a bit better. :)
On 03 Nov 2004 12:53:13 -0600, Edward Parrilla <eparrilla@comcast.net> wrote:
> Hi all,
> I have created this line in my .bash_profile
>
> PS1="{${HOSTNAME}"':${PWD}}'
> export PS1
>
> However when I initiate my term session it does not show the host name,
> nor the PWD.
> What could be wrong?
> Regards
> Ed
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2004-11-03 19:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-03 18:53 Set the prompt Edward Parrilla
[not found] ` <e29bf9c50411031057125227a@mail.gmail.com>
2004-11-03 19:00 ` Helge Pettersen [this message]
2004-11-03 19:04 ` Scott Taylor
2004-11-03 19:08 ` Helge Pettersen
2004-11-03 19:12 ` Scott Taylor
2004-11-03 22:19 ` Edward Parrilla
2004-11-04 4:31 ` Glynn Clements
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e29bf9c5041103110040b4f1b8@mail.gmail.com \
--to=tubamann@gmail.com \
--cc=linux-admin@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).