2016-10-15 19:31:55 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2016-05-07 21:40:49 +02:00
|
|
|
# if running bash
|
|
|
|
if [ -n "$BASH_VERSION" ]; then
|
|
|
|
|
|
|
|
# source all the things
|
2017-05-14 04:06:52 +02:00
|
|
|
for file in ~/.{bashrc,bash_prompt,bash_aliases,private}; do
|
2016-05-07 21:40:49 +02:00
|
|
|
[ -r "$file" ] && [ -f "$file" ] && source "$file"
|
|
|
|
done;
|
|
|
|
unset file;
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
# set PATH so it includes user's private bin if it exists
|
|
|
|
if [ -d "$HOME/bin" ] ; then
|
|
|
|
PATH="$HOME/bin:$PATH"
|
|
|
|
fi
|
2017-01-21 01:13:11 +01:00
|
|
|
|
|
|
|
# The next line updates PATH for the Google Cloud SDK.
|
|
|
|
if [ -f /home/m/code/google-cloud-sdk/path.bash.inc ]; then
|
|
|
|
source '/home/m/code/google-cloud-sdk/path.bash.inc'
|
|
|
|
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'
|
2017-05-14 04:06:52 +02:00
|
|
|
fi
|