rpaskudniak
December 15th, 2010, 08:30 AM
Greetings again.
This is not really a major problem, just a quibble over something I have observed and wish to share my $0.02 (US) with y'all.
I see that there is a .bashrc in my home directory and I have established it is being executed. This is fine though I was initially confused by the man page for bash:
When bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable.
Note: No mention of .bashrc. The emphasis (underline) is my editorializing.
I would chalk this up to a bug in the documentation. My assumption is that .bashrc should be listed first in the above list. As I write this I am downloading a bunch of updates, including documentation on bash. Until that download completes I will not know if this has been fixed. I'll post an update if something changes.
Your opinions?
This is not really a major problem, just a quibble over something I have observed and wish to share my $0.02 (US) with y'all.
I see that there is a .bashrc in my home directory and I have established it is being executed. This is fine though I was initially confused by the man page for bash:
When bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable.
Note: No mention of .bashrc. The emphasis (underline) is my editorializing.
I would chalk this up to a bug in the documentation. My assumption is that .bashrc should be listed first in the above list. As I write this I am downloading a bunch of updates, including documentation on bash. Until that download completes I will not know if this has been fixed. I'll post an update if something changes.
Your opinions?