Skip to content

Commit 399cedc

Browse files
committed
Adds more bash completion
1 parent 6d97509 commit 399cedc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bashrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,12 @@ elif [ -f /etc/bash_completion ]; then
146146
. /etc/bash_completion
147147
elif [ -f /etc/profile.d/bash_completion ]; then
148148
. /etc/profile.d/bash_completion
149+
elif [ -f /usr/local/etc/bash_completion.d ]; then
150+
. /etc/profile.d/bash_completion
149151
fi
150152

153+
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion
154+
151155
# http://onrails.org/articles/2006/11/17/rake-command-completion-using-rake
152156
if [ -f ~/bin/rake_completion ]; then
153157
complete -C ~/bin/rake_completion -o default rake

0 commit comments

Comments
 (0)