Merge pull request #163 from richoH/features/completion_only_in_interactive_shells

Only run compctl if it's an interactive shell
This commit is contained in:
Sam Stephenson 2011-12-24 14:44:41 -08:00
commit c4721169e3

View file

@ -1,3 +1,7 @@
if [[ ! -o interactive ]]; then
return
fi
compctl -K _rbenv rbenv
_rbenv() {