source optional private file

This commit is contained in:
Matthias Kretschmann 2017-05-14 04:06:52 +02:00
parent e5b61becc6
commit 6fe08f5c69
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
if [ -n "$BASH_VERSION" ]; then
# 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"
done;
unset file;
@ -24,4 +24,4 @@ fi
# The next line enables shell command completion for gcloud.
if [ -f /home/m/code/google-cloud-sdk/completion.bash.inc ]; then
source '/home/m/code/google-cloud-sdk/completion.bash.inc'
fi
fi