This website works better with JavaScript.
Home
Explore
Help
Sign In
isprogram
/
pyenv
mirror of
https://github.com/pyenv/pyenv.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
240
Wiki
Activity
Browse Source
Defer to `rbenv commands`
pull/360/head^2
Sam Stephenson
15 years ago
parent
3b13dc9c14
commit
e4a040f1e0
1 changed files
with
2 additions
and
6 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-6
completions/rbenv.bash
+ 2
- 6
completions/rbenv.bash
View File
@ -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
(
)
{
Write
Preview
Loading…
Cancel
Save