[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problems with new system and installation - .bashrc



On 2005-04-30, <fncgroup@web.de> penned:

[snip]

>
> PS1="\e[35;40m[\u@\h:\W]\\$\e[0m "
>
> I know my old .bashrc changed the prompt (only PS1), but I don't
> remember doing anything other than PS1="{my prompt}" to get it to do
> that.
>
> So how can I export a prompt I create in a script (like .bashrc) to
> use outside the script (in normal command line)?  Thanks for any
> help.
>

Add

export PS1

after your PS1= line.

-- 
monique

Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html



Reply to: