Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #176943

Re: An Embarrassing Progblem

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: An Embarrassing Progblem
Date 2017-01-23 19:40 +0100
Message-ID <t2RH5-1v8-33@gated-at.bofh.it> (permalink)
References <t2RH5-1v8-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jan 23, 2017 at 01:27:05PM -0500, S. P. Molnar wrote:
> I have found plenty of Google results about correcting thei promled, 
> and, indeed export PS1='\u@\h > ' restores the prompt - that is, until I 
> close that terminal.  The next time I open a terminal the prompt is back 
> to (p4env).

Put the PS1=... command that you want into your ~/.bashrc file, removing
any other PS1 assignments that you don't want.

Some people prefer to export PS1 in ~/.bash_profile instead of simply
assigning it in ~/.bashrc -- either way is acceptable, if it works
for you.

Back to linux.debian.user | Previous | Next | Find similar | Unroll thread


Thread

Re: An Embarrassing Progblem Greg Wooledge <wooledg@eeg.ccf.org> - 2017-01-23 19:40 +0100

csiph-web