Re: Terminal prompt



On 5/1/07, Tom Vawter <tvawter@xxxxxxxxxxxx> wrote:

I need help with my terminal prompt.

After having attempted to mount my macosx partition, my terminal prompt
changed to "tvawter@tvawter-pb4:~$". The "@tvawter-pb4" was added. I
would like to get rid of this. I have looked in /etc/profile, ~/.bash
and /etc/bash.bashrc, but I am unclear on what to change. I am also
unclear on why my prompt changed at all.


Look for something that sets the variable named PS1 and, possibly,
PROMPT_COMMAND. The definition and use of these variables can be found in
the man page for your shell (probably bash). If you find the variable, you
might not even need to look at the man page. It might be obvious what is
generating the "@tvawter-pb4" part.

This is probably, "@\h". that's what it is on mine. It doesn't seem likely
that this happened as a result of mounting a drive, though.

-- Vince

Thanks
Tom Vawter

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Terminal prompt
    ... After having attempted to mount my macosx partition, my terminal prompt ... would like to get rid of this. ... but I am unclear on what to change. ...
    (Ubuntu)
  • Re: Terminal prompt
    ... I need help with my terminal prompt. ... After having attempted to mount my macosx partition, ... but I am unclear on what to change. ...
    (Ubuntu)