Permalink
Browse files

Support bash completion

  • Loading branch information...
1 parent ccd6f8e commit 969c73a6279c17cc3f27f8c7a4314c1a5de7b8cc @dcramer committed Jul 26, 2013
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"

0 comments on commit 969c73a

Please sign in to comment.