summaryrefslogtreecommitdiffstats
path: root/.bashrc
blob: d145b05e00b1efbc2c75776b502ee5ec8f7ca0b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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

#== Prompt Override ==
export PS1="\W$ "