.bashrc and .bash_profilePosted: 2017-12-26
I never had the habit of setting up
~/.bashr_profile or modifying them or any way. I was just happy with the prompt presented when I opened the terminal. It never bothered me that my normal user did not have a colour scheme, for example. Recently, I got curious about that and checked the Slackware Wiki.
Plenty of useful information there.
As a start, I created
~/.bashrc with the following content:
if [ -f ~/.bashrc ]; then . ~/.bashrc fi
. /etc/profile export VISUAL=nano export EDITOR=nano
To implement any changes made to .bashrc, it should be sourced: