4 ms·
These days, I fail to see any need to put anything in the .bashrc file. If there is some non-interactive use of bash, I just want a clean environment, and ever
by ansible 6y ago
These days, I fail to see any need to put anything in the .bashrc file.
If there is some non-interactive use of bash, I just want a clean environment, and everything scp or ssh needs should be on the standard $PATH.
There's no point in putting anything in .profile either, because if I am running an interactive session, I will be using bash. I don't care about the config for dash or whatever.
And any scripts should completely specify their required functions, $PATH and whatever inside the script itself. Use 'source' to pull in common functions.