Hi,
I have a question about the system startup files for bash.
The problem I had was that I set up an alias in ~/.bashrc, let's say
alias ls="ls -lh"
but it didn't work as "alias ls" reported
alias ls='ls --color=auto'
What happens is that at the end ~/.bashrc sources /etc/bashrc which sources
/etc/profile.d/*.sh that redefine "ll".
This happens on F24, F25, F26 and CentOS....
Easy to correct, but the question is: is that right? None of the examples I
found on line does that and /etc/profile.d/*.sh are already sourced by
/etc/profile (which is the first startup file read on login). Is this a quirk of
RedHat or an error that still remains in the files or what?
GianPiero
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx