.bashrc
For some reason, .bashrc is not running when I log in. This is a pain, since aliases such as poweroff="sudo /sbin/poweroff". Ok, it takes seconds to type the extra characters, but it bugs me nonetheless. And I may want to put other stuff in there at some point.
I added the following to /etc/profile:
if [ -x ~/.bashrc ]; then
. ~/.bashrc
fi
Problem solved.
[EDIT]
I did a little more searching and found out that slackware doesn't use .bashrc, but does have .bash_profile. Anyway, I removed the lines from /etc/profile, and put all my user stuff in .bash_profile. It works fine, no point adding extra files for no reason, it'll only complicate things.
I added the following to /etc/profile:
if [ -x ~/.bashrc ]; then
. ~/.bashrc
fi
Problem solved.
[EDIT]
I did a little more searching and found out that slackware doesn't use .bashrc, but does have .bash_profile. Anyway, I removed the lines from /etc/profile, and put all my user stuff in .bash_profile. It works fine, no point adding extra files for no reason, it'll only complicate things.

<< Home