Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Support bash completion

  • Loading branch information...
commit 969c73a6279c17cc3f27f8c7a4314c1a5de7b8cc 1 parent ccd6f8e
@dcramer authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 bash/bashrc
View
6 bash/bashrc
@@ -197,10 +197,16 @@ if [ -e "$HOME/.local-bashrc" ]; then
source "$HOME/.local-bashrc"
fi
+# Use git-completion if available
if [ -e "$HOME/.git-completion.bash" ]; then
source "$HOME/.git-completion.bash"
fi;
+# Use bash-completion, if available
+if [ -f /etc/bash_completion ]; then
+ . /etc/bash_completion
+fi
+
# GRC support
if [ `uname` == "Darwin" ]; then
grc_bash="`brew --prefix grc`/etc/grc.bashrc"
Please sign in to comment.
Something went wrong with that request. Please try again.