blob: 6322438be64c79cd1838fd0d0d5ad3a47ffb8b01 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/usr/bin/env bash
if [ -f "/etc/bash/bash_completion.sh" ]; then source /etc/bash/bash_completion.sh; fi
if (( BASH_VERSINFO[0] < 4 )); then
if [ -f "$HOME/.local/share/bash/bash_completion.sh" ]; then source $HOME/.local/share/bash/bash_completion; fi
else
if [ -f "$HOME/.local/share/git/git-completion-5.sh" ]; then source $HOME/.local/share/git/git-completion-5.sh; fi
fi
# The next line updates PATH for the Google Cloud SDK.
if [ -f "$HOME/.gcloud/google-cloud-sdk/path.bash.inc" ]; then . "$HOME/.gcloud/google-cloud-sdk/path.bash.inc"; fi
# The next line enables shell command completion for gcloud.
if [ -f "$HOME/.gcloud/google-cloud-sdk/completion.bash.inc" ]; then . "$HOME/.gcloud/google-cloud-sdk/completion.bash.inc"; fi
|