I'm used to Ubuntu, where I just create a .bash_aliases file and away you go. In CentOS, how do I get .bashrc to load the .bash_aliases file?
Asked
Active
Viewed 1,641 times
1 Answers
3
If i look into my .bashrc i see the following code
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
This sources the .bash_aliases if present.
May be you have simply add this fragment to your .bashrc in your centos box.
Christian Meißner
- 334
- 2
- 8