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


Groups > linux.debian.user > #176946

Re: An Embarrassing Progblem

From "der.hans" <deb-user@LuftHans.com>
Newsgroups linux.debian.user
Subject Re: An Embarrassing Progblem
Date 2017-01-23 19:50 +0100
Message-ID <t2RQJ-1wu-5@gated-at.bofh.it> (permalink)
References <t2RH5-1v8-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Am 23. Jan, 2017 schwätzte S. P. Molnar so:

moin moin Stephen,

check for PS1 in ~/.bashrc, ~/.bash_profile and ~/.profile.

grep PS1 ~/.bashrc ~/.bash_profile ~/.profile

If you don't find it that way, check to see if any of those include
another rc file.

You can set PS1 at the bottom of ~/.bashrc, but you probably want to find
out why it's getting messed up.

ciao,

der.hans

> I'm embarrassed to admit it. but I am completely confused.
>
> Somehow, I don't know how I managed to reset my bash user prompt. Rather than 
> the default user prompt '\u@h >', it has morphed to (p4env).
>
> 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).
>
> For my sanity, I can]t seem to figure out where and how to make the change 
> permanent.
>
> As I said, I'm very embarrassed about this and really need help.
>
> Thanks in advance,
>
>

-- 
#  http://www.LuftHans.com/        http://www.PhxLinux.org/
#  Your email is being read by hundreds of uptight agents
#  who never saw the humor in Dr. Strangelove. -- Mark Russell

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


Thread

An Embarrassing Progblem "S. P. Molnar" <s.molnar@sbcglobal.net> - 2017-01-23 19:40 +0100
  Re: An Embarrassing Progblem "der.hans" <deb-user@LuftHans.com> - 2017-01-23 19:50 +0100
    Re: An Embarrassing Progblem "S. P. Molnar" <s.molnar@sbcglobal.net> - 2017-01-23 20:50 +0100
      Re: An Embarrassing Progblem Greg Wooledge <wooledg@eeg.ccf.org> - 2017-01-23 21:00 +0100
      Re: An Embarrassing Progblem "der.hans" <deb-user@LuftHans.com> - 2017-01-23 21:00 +0100
        Re: An Embarrassing Progblem Kent West <westk@acu.edu> - 2017-01-23 21:20 +0100
        Re: An Embarrassing Progblem <tomas@tuxteam.de> - 2017-01-23 21:20 +0100
          Re: An Embarrassing Progblem Ben Caradoc-Davies <ben@transient.nz> - 2017-01-23 22:30 +0100
            Re: An Embarrassing Progblem "S. P. Molnar" <s.molnar@sbcglobal.net> - 2017-01-24 13:00 +0100

csiph-web