Open DavidFrahm opened 9 years ago
One solution: https://github.com/mathiasbynens/dotfiles/blob/3a47ebe1faf72222b1915853a3ce093ac8908853/.bash_profile
# Load the shell dotfiles, and then some:
# * ~/.path can be used to extend `$PATH`.
# * ~/.extra can be used for other settings you don’t want to commit.
for file in ~/.{path,bash_prompt,exports,aliases,functions,extra}; do
[ -r "$file" ] && [ -f "$file" ] && source "$file";
done;
unset file;
This dotfiles repo README explains good use of .extra:
Some dotfiles solutions say publishing your PATH is insecure, so need to decide if I care about that. If not, just do more dotfiles same as I already am. If so, then need to find a way to automate this more securely than the other dotfiles.