mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-09 12:03:49 -05:00
Bail on completion init if we're not an interactive shell
Based on the approach by @imajes
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
if [[ ! -o interactive ]]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
compctl -K _rbenv rbenv
|
compctl -K _rbenv rbenv
|
||||||
|
|
||||||
_rbenv() {
|
_rbenv() {
|
||||||
|
|||||||
Reference in New Issue
Block a user