source optional private file

This commit is contained in:
Matthias Kretschmann 2017-05-14 04:06:52 +02:00
parent e5b61becc6
commit 6fe08f5c69

View File

@ -4,7 +4,7 @@
if [ -n "$BASH_VERSION" ]; then if [ -n "$BASH_VERSION" ]; then
# source all the things # source all the things
for file in ~/.{bashrc,bash_prompt,bash_aliases}; do for file in ~/.{bashrc,bash_prompt,bash_aliases,private}; do
[ -r "$file" ] && [ -f "$file" ] && source "$file" [ -r "$file" ] && [ -f "$file" ] && source "$file"
done; done;
unset file; unset file;