From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey Morse Subject: Re: changing KDE Konsole prompt? Date: Mon, 9 Feb 2004 15:01:55 -0600 Sender: linux-admin-owner@vger.kernel.org Message-ID: <20040209210154.GA4128@m4cc.com> References: <000b01c3ef4d$ded558f0$6f00000a@jenswin2k> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <000b01c3ef4d$ded558f0$6f00000a@jenswin2k> List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Cc: Linux Admin 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 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