This is a collection of bash settings and configurations I prefer
~/bash_profile
- Set
INTERACTIVE=1
mode - loads
.bashrc
- If configured starts
screen
- Set titles for ssh client tabs/windows
.bashrc
- config section
- sources
/etc/profile
- ensure
colours
are sourced - load default, OS or host specific settings
.bash.d/
default settings
default.behaviours
: shell options, history config, aliases and exports (ie: paths)default.functions
: various bash functions which save me timedefault.complete
: some command line completion configs
Load OS specific script for example Darwin.behavours
, cygwin.functions
.
Or, host specific scripts sunrool.local.functions
, my_host.domain.behaviours
I usually use screen so, included some reasonable screen defaults in .screenrc