mirror of
https://github.com/pyenv/pyenv.git
synced 2025-12-10 00:11:26 +09:00
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:
commit
c4721169e3
@ -1,3 +1,7 @@
|
|||||||
|
if [[ ! -o interactive ]]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
compctl -K _rbenv rbenv
|
compctl -K _rbenv rbenv
|
||||||
|
|
||||||
_rbenv() {
|
_rbenv() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user