Terminal prompt
Tom Vawter
tvawter at austincc.edu
Mon Apr 30 18:02:46 UTC 2007
Vincente Aggrippino wrote:
>
>
> On 5/1/07, *Tom Vawter* <tvawter at austincc.edu
> <mailto:tvawter at austincc.edu>> wrote:
>
> I need help with my terminal prompt.
>
> After having attempted to mount my macosx partition, my terminal
> prompt
> changed to "tvawter at 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 at lists.ubuntu.com <mailto:ubuntu-users at lists.ubuntu.com>
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
Thanks, Vincente. Deleting "@\h" in PS1 in ~/.bashrc did the trick.
Tom
More information about the ubuntu-users
mailing list