On Sunday 26 Oct 2003 6:02 pm, Paul Kaplan wrote:
> After installing 9.2 the user shell prompt reads "bash_2.05$". How do I
> get it to read "[EMAIL PROTECTED] user]", the default in 9.1?
> TIA,
> Paul
man bash
On 9.1, mine says:
PROMPT_COMMAND='echo -ne "\033]0;[EMAIL PROTECTED]: ${PWD}\007"'
PS1='[EMAIL PROTECTED] \W]\$ '
PS2='> '
PS4='+ '
I don't understand all that, but man bash says:
PROMPT_COMMAND
If set, the value is executed as a command prior to issuing each
primary prompt.
PS1 The value of this parameter is expanded (see PROMPTING below)
and used as the primary prompt string. The default value is
``\s-\v\$ ''.
PS2 The value of this parameter is expanded as with PS1 and used as
the secondary prompt string. The default is ``> ''.
PS3 The value of this parameter is used as the prompt for the select
command (see SHELL GRAMMAR above).
PS4 The value of this parameter is expanded as with PS1 and the
value is printed before each command bash displays during an
execution trace. The first character of PS4 is replicated mul-
tiple times, as necessary, to indicate multiple levels of indi-
rection. The default is ``+ ''.
--
Richard Urwin
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com