mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-14 20:39:55 -05:00
Don't leak local variables
This commit is contained in:
parent
ed9f69fe23
commit
96679b7715
1 changed files with 2 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
|||
compctl -K _rbenv rbenv
|
||||
|
||||
function _rbenv_commands() {
|
||||
cmds_str="$(rbenv commands)"
|
||||
local cmds_str="$(rbenv commands)"
|
||||
reply=("${(ps:\n:)cmds_str}")
|
||||
}
|
||||
|
||||
_rbenv_versions() {
|
||||
versions_str="$(rbenv versions --bare)"
|
||||
local versions_str="$(rbenv versions --bare)"
|
||||
reply=(system "${(ps:\n:)versions_str}")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue