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

Re: bash colors the Right Way?

On Tue, Feb 15, 2005 at 03:21:21PM -0800, Peter Sebastian Masny wrote:
> Hi all,
> Is there a good way to change bash settings for all logins?
Just uncoment the following lines in $HOME/.bash_profile
# include .bashrc if it exists
if [ -f ~/.bashrc ]; then
    . ~/.bashrc

this file is the "REAL" file that is executed when you login.
> I like to use ls --color=auto, and I login as different users, so what I 
> have done in the past is create an executable file called 
> /etc/shellstart which contained:
> alias ls='ls --color=auto'
> and in /etc/profile and /etc/bash.bashrc i added
> . /etc/shellstart
> This works exactly as I want, but every time /etc/profile or 
> /etc/bash.bashrc is updated (which is actually not that uncommon) I 
> would install the new file and then add my ". /etc/shellstart".
> All in all it is cludgy and a PITA, so I was wondering if there was a 
> better, more correct way to do this.
> Thanks,
> Peter
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact 
> listmaster@lists.debian.org

Bruno Ribas - ribas@ufpr.br

Reply to: