I could really do with offloading my content into separate files to make it truly drop in with no concern. Add a bootstrap.sh to allow me to source these in the default files automagically. Also, currently I believe bash_logout is untouched, for one.
I can keep my config in $XDG_CONFIG_HOME and leave the default files untouched. This means I won't be cluttering $HOME with my files. Also, this may well make it easier to make settings system-dependent. Also see a nice tidy approach
See /etc/skel for the defaults.
Further: .profile, .bashrc and .bash_profile are not recommended for env vars any more, with preference for .pam_environment (I think this is because this is available to all applications rather than just those launched via BASH).
I could really do with offloading my content into separate files to make it truly drop in with no concern. Add a bootstrap.sh to allow me to source these in the default files automagically. Also, currently I believe
bash_logoutis untouched, for one.I can keep my config in
$XDG_CONFIG_HOMEand leave the default files untouched. This means I won't be cluttering$HOMEwith my files. Also, this may well make it easier to make settings system-dependent. Also see a nice tidy approachSee
/etc/skelfor the defaults.Further:
.profile,.bashrcand.bash_profileare not recommended for env vars any more, with preference for.pam_environment(I think this is because this is available to all applications rather than just those launched via BASH)..pam_environmentuses a special, non-shell syntax (note the need for braced variables).