27 lines
729 B
Bash
27 lines
729 B
Bash
#!/usr/bin/env bash
|
|
|
|
# if running bash
|
|
if [ -n "$BASH_VERSION" ]; then
|
|
|
|
# source all the things
|
|
for file in ~/.{bashrc,bash_prompt,bash_aliases}; do
|
|
[ -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
|
|
|
|
# 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'
|
|
fi |