Bail on completion init if we're not an interactive shell

Based on the approach by @imajes
This commit is contained in:
richo 2011-12-10 14:17:44 +11:00
parent adf9c97616
commit 65f0be0c20

View file

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