Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
isprogram
/
pyenv
espelhamento de
https://github.com/pyenv/pyenv.git
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Projects
0
Versões
240
Wiki
Atividade
Ver código fonte
Defer to `rbenv commands`
pull/360/head^2
Sam Stephenson
15 anos atrás
pai
3b13dc9c14
commit
e4a040f1e0
1 arquivos alterados
com
2 adições
e
6 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+2
-6
completions/rbenv.bash
+ 2
- 6
completions/rbenv.bash
Ver arquivo
@ -1,11 +1,7 @@
_rbenv_commands
(
)
{
local
cur commands
COMPREPLY
=
(
)
cur
=
"
${
COMP_WORDS
[COMP_CWORD]
}
"
commands
=
"
exec prefix rehash set-default set-local version versions
\
whence which
"
COMPREPLY
=
(
$(
compgen
-W
"
$commands
"
--
$cur
)
)
local
cur
=
"
${
COMP_WORDS
[COMP_CWORD]
}
"
COMPREPLY
=
(
$(
compgen
-W
"
$(
rbenv commands
)
"
--
$cur
)
)
}
_rbenv_versions
(
)
{
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar