simplify sourcing
This commit is contained in:
parent
2a2c3057f5
commit
b4eda04763
11
.profile
11
.profile
@ -16,14 +16,9 @@ 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'
|
||||
if [ -f "$HOME/code/google-cloud-sdk/" ]; then
|
||||
source "$HOME/code/google-cloud-sdk/path.bash.inc"
|
||||
source "$HOME/code/google-cloud-sdk/completion.bash.inc"
|
||||
fi
|
||||
|
||||
# define CDPATHs which are autocompleted from when doing cd
|
||||
|
Loading…
Reference in New Issue
Block a user