Re: Bash: Setting Prompt

2005-05-18 Thread Gerard Seibert
On Wed, 18 May 2005 07:37:44 -0500 Jacob S <[EMAIL PROTECTED]> wrote: $> $>On Wed, 18 May 2005 06:26:53 -0400 (Eastern Standard Time) $>Gerard Seibert <[EMAIL PROTECTED]> wrote: $> $>> FreeBSD 5.4 and Bash 3.00.16(1) $>> $>> I hope that this is the right place to post this. $>> $>> I have the fo

Re: Bash: Setting Prompt

2005-05-18 Thread John Oxley
On Wed, May 18, 2005 at 06:26:53AM -0400, Gerard Seibert wrote: > I have the following in my '.bash_profile' file. > # > # Set the prompt to display the '[EMAIL PROTECTED]' and the working > # directory with a '#' for root and '$' for user. > # > PS1="[EMAIL PROTECTED] \w " > case 'id -u'

Re: Bash: Setting Prompt

2005-05-18 Thread Jacob S
On Wed, 18 May 2005 06:26:53 -0400 (Eastern Standard Time) Gerard Seibert <[EMAIL PROTECTED]> wrote: > FreeBSD 5.4 and Bash 3.00.16(1) > > I hope that this is the right place to post this. > > I have the following in my '.bash_profile' file. > # > # Set the prompt to display the '[EMAIL PROT

Re: Bash: Setting Prompt

2005-05-18 Thread albi
On Wed, 18 May 2005 06:26:53 -0400 (Eastern Standard Time) Gerard Seibert <[EMAIL PROTECTED]> wrote: > PS1="[EMAIL PROTECTED] \w " > case 'id -u' in > 0) PS1="${PS1}# ";; > *) PS1="${PS1}$ ";; > esac --- cut --- > It is suppose to set the prompt to display the '[EMAIL PROTECTED]' and t