Max Nordlund
fab5cf912f
Fix pyenv -> rbenv typo
há 7 anos
Max Nordlund
9f52b56aa8
Fix fish subcommand completion
This allows subcommand style plugins to properly autocomplete.
Existing commands are not affected.
Example, say you have support for `rbenv foo bar --flag`, then
this allows the last `--flag` argument to be properly completed.
há 7 anos
Max Nordlund
e09d61780c
Fix fish subcommand completion
This allows subcommand style plugins to properly autocomplete.
Existing commands are not affected.
Example, say you have support for `pyenv foo bar --flag`, then
this allows the last `--flag` argument to be properly completed.
há 7 anos
Daniel Hahler
bc6be9ed9f
Do not quote completions in $reply
With an empty list of completions, zsh would complete a space / advance
the cursor by a space when completing.
há 10 anos
Daniel Hahler
4159055117
Fix zsh completion with multiple words
`${words[2,-2]}` must not be quoted, otherwise completion for multiple
words (e.g. `shell 3.4.1`) fails.
há 10 anos
Yamashita Yuu
5bfec84432
add fish shell support
há 11 anos
Yamashita Yuu
d2f210d70d
Implement sub-command completion for fish shell
há 11 anos
Yamashita Yuu
93b536863f
Support fish shell
há 11 anos
Yamashita Yuu
e9db2caace
fix completion problem on zsh
há 11 anos
Tim Pope
0d1f1d09f0
Fix multiple argument completion with zsh
This changes the zsh completion to omit the final, incomplete command
line argument when invoking rbenv completions, making it consistent with
the bash completion. Since no built-in completion cares about the
argument list, this inconsistency only affected plugins.
há 11 anos
Yamashita Yuu
fca31c4307
import trivial changes from rbenv 0.4.0
há 11 anos
Sam Stephenson
f635c8715c
Add zsh support for completion of full command line
há 11 anos
Brian Olsen
02332d78f3
Added bash support for completion of full command line
há 12 anos
Yamashita Yuu
2457419b4a
created new project.
modified rbenv source for Python and renamed to pyenv.
há 12 anos
richo
65f0be0c20
Bail on completion init if we're not an interactive shell
Based on the approach by @imajes
há 12 anos
Sam Stephenson
b4f8906b24
Update zsh completion adapter
há 13 anos
Sam Stephenson
6da85246c6
Proof-of-concept external completions
há 13 anos
Sam Stephenson
96679b7715
Don't leak local variables
há 13 anos
Sam Stephenson
ed9f69fe23
Fix zsh autocompletion. Closes #47 .
há 13 anos
Joshua Peek
042794b651
use -> shell
há 13 anos
Joshua Peek
d14529461b
Version autocomplete `use` command
há 13 anos
Sam Stephenson
5be66da9f4
Rename rbenv-default to rbenv-global
há 13 anos
Sam Stephenson
53d55eb08c
Update completions
há 13 anos
Sam Stephenson
b45bce80ca
Source the zsh autocompletion script in rbenv-init
há 13 anos
Guten
1700206da8
add zsh completion
há 13 anos
Graham Ashton
7a0cde9a4e
Remove set- prefix from local and default commands.
há 13 anos
Sam Stephenson
f904d1b92f
Complete versions for `rbenv set-local` and `rbenv prefix` too
há 13 anos
Sam Stephenson
ccf7c29fc4
Simplify _rbenv_versions
há 13 anos
Sam Stephenson
e4a040f1e0
Defer to `rbenv commands`
há 13 anos
Sam Stephenson
df034f5d35
Defer to `rbenv versions` instead of reading ~/.rbenv/versions manually
há 13 anos
Sam Stephenson
f7c463bed9
Rename helpers
há 13 anos
Sam Stephenson
4e79ba15f7
Match style
há 13 anos
Sam Stephenson
2099355ad5
Pull in @telemachus' Bash autocompletion defintion from https://gist.github.com/1122379
há 13 anos