linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeffrey Morse <jmorse@m4cc.com>
Cc: Linux Admin <linux-admin@vger.kernel.org>
Subject: Re: changing KDE Konsole prompt?
Date: Mon, 9 Feb 2004 15:01:55 -0600	[thread overview]
Message-ID: <20040209210154.GA4128@m4cc.com> (raw)
In-Reply-To: <000b01c3ef4d$ded558f0$6f00000a@jenswin2k>


Put this in your .bashrc:

This changes the bash shell prompt
# set prompt: ``username@hostname:/directory $ ''
PS1="[\u@\h:\w] "
case `id -u` in
      0) PS1="${PS1}# ";;
      *) PS1="${PS1}$ ";;
esac

-Jeff

											  

* On [02-09-2004 13:47 -0700] Jens Knoell <jens@surefoot.com> wrote:
> Kinda annoying... I updated to KDE 3.2, and Konsole shows "bash-2.05$" as
> prompt... I'd rather have it display the regular shell prompt, but I'm at a
> loss what I need to do to get that?
> 
> Thanks
> Jens
> 
> -
> 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-02-09 21:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-09 20:47 changing KDE Konsole prompt? Jens Knoell
2004-02-09 21:01 ` Jeffrey Morse [this message]
2004-02-09 21:26   ` Thomas Steudten
2004-02-10 13:02 ` Jeff Largent

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=20040209210154.GA4128@m4cc.com \
    --to=jmorse@m4cc.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).