mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Bail on completion init if we're not an interactive shell
Based on the approach by @imajes
This commit is contained in:
parent
adf9c97616
commit
65f0be0c20
1 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
if [[ ! -o interactive ]]; then
|
||||
return
|
||||
fi
|
||||
|
||||
compctl -K _rbenv rbenv
|
||||
|
||||
_rbenv() {
|
||||
|
|
Loading…
Reference in a new issue