Browse Source

Merge pull request #163 from richoH/features/completion_only_in_interactive_shells

Only run compctl if it's an interactive shell
pull/360/head^2
Sam Stephenson 12 years ago
parent
commit
c4721169e3
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      completions/rbenv.zsh

+ 4
- 0
completions/rbenv.zsh View File

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

Loading…
Cancel
Save