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

Re: Prompt



On Friday 03 November 2006 17:24, Mathias Brodala wrote:
> Hello José
>
> José Pablo Fernández, 03.11.2006 21:07:
> > What are the right files in Debian to set up the Bash prompt system-wide
> > and per-user.
>
> System-wide: /etc/bash.bashrc

I've connected thru SSH and it seems that file is not loaded. I've set a 
prompt there and it is not used. Sourcing /etc/bash.bashrc made the prompt 
look like I wanted, so the code on the file is right.

>    Per-user: ~/.bashrc
>
> > I don't want a list of the different files, but the best one, […]
>
> What is „the best one“ for you?

For this, files which are always loaded on interactive shells and never on 
non-interactive shells.

-- 
José Pablo Fernández
pablo.fernandez@rs.com.ar



Reply to: