summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 8c87e8f..b6fbee6 100644
--- a/.bashrc
+++ b/.bashrc
@@ -8,6 +8,12 @@
. "${HOME}/.config/posix-shell/programs.sh"
. "${HOME}/.config/posix-shell/utils.sh"
+completions='/usr/share/bash-completion/bash_completion'
+if test -r "$completions"
+then
+ . "$completions"
+fi
+
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}