All of lore.kernel.org
 help / color / mirror / Atom feed
From: Edward Parrilla <eparrilla@comcast.net>
To: Linux_admin <linux-admin@vger.kernel.org>
Subject: Re: Set the prompt.
Date: 03 Nov 2004 16:19:06 -0600	[thread overview]
Message-ID: <1099520328.5008.1.camel@eparr1> (raw)
In-Reply-To: <3983.192.168.99.70.1099509153.squirrel@192.168.99.70>

Hi,
thanks for your answer. I found that what I have set works but when I
logging through X-Window session; however  it does not work if I go
through an X-term or Term session.
What is the difference.
Thanks
Edward


On Wed, 2004-11-03 at 13:12, Scott Taylor wrote:
> Scott Taylor said:
> >
> > Edward Parrilla said:
> >>
> >> PS1="{${HOSTNAME}"':${PWD}}'
> >> export PS1
> >
> > Try:
> >
> > man bash
> 
> Look for PROMPTING
> /PROMTING
> 
> > I get:
> > PS1="\h:\W "
> 
> Sorry, that should be lower case 'W' "\h:\w " to get a full PWD with ~/ to
> represent your home directory, but it gets very long that way.
> 
> --
> Scott
> -
> 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


  reply	other threads:[~2004-11-03 22:19 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
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 [this message]
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=1099520328.5008.1.camel@eparr1 \
    --to=eparrilla@comcast.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.