4/26/2016

How to use .bashrc file on Mac for the terminal

In /etc/profile add:
if [ -n "$BASH_VERSION" ] && [ -f $HOME/.bashrc ];then
    source $HOME/.bashrc
fi


Under $HOME, create .bashrc file. The content should be: http://liangzou.blogspot.com/2016/06/commonly-used-linux-aliases.html


 

No comments: