modularisation completion

This commit is contained in:
Loic Nageleisen 2012-08-10 15:36:54 +02:00
parent d1bec20d74
commit d5cca2a992
2 changed files with 7 additions and 4 deletions

6
bash/completion Normal file
View file

@ -0,0 +1,6 @@
# homebrew bash autocompletion
if [ -f `brew --prefix`/etc/bash_completion ]; then
source `brew --prefix`/etc/bash_completion
fi
# vim: ft=sh

View file

@ -2,6 +2,7 @@
source $DOTFILES_BASH_DIR/prompt
source $DOTFILES_BASH_DIR/history
source $DOTFILES_BASH_DIR/completion
# easy on spelling mistakes
shopt -s cdspell
@ -9,9 +10,5 @@ shopt -s cdspell
# turn off distractive bells
set bell-style none
# homebrew bash autocompletion
if [ -f `brew --prefix`/etc/bash_completion ]; then
source `brew --prefix`/etc/bash_completion
fi
# vim: ft=sh