Max Nordlund
fab5cf912f
Fix pyenv -> rbenv typo
7 vuotta sitten
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.
7 vuotta sitten
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.
7 vuotta sitten
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.
10 vuotta sitten
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.
10 vuotta sitten
Yamashita Yuu
5bfec84432
add fish shell support
11 vuotta sitten
Yamashita Yuu
d2f210d70d
Implement sub-command completion for fish shell
11 vuotta sitten
Yamashita Yuu
93b536863f
Support fish shell
11 vuotta sitten
Yamashita Yuu
e9db2caace
fix completion problem on zsh
11 vuotta sitten
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.
11 vuotta sitten
Yamashita Yuu
fca31c4307
import trivial changes from rbenv 0.4.0
11 vuotta sitten
Sam Stephenson
f635c8715c
Add zsh support for completion of full command line
11 vuotta sitten
Brian Olsen
02332d78f3
Added bash support for completion of full command line
12 vuotta sitten
Yamashita Yuu
2457419b4a
created new project.
modified rbenv source for Python and renamed to pyenv.
12 vuotta sitten
richo
65f0be0c20
Bail on completion init if we're not an interactive shell
Based on the approach by @imajes
12 vuotta sitten
Sam Stephenson
b4f8906b24
Update zsh completion adapter
13 vuotta sitten
Sam Stephenson
6da85246c6
Proof-of-concept external completions
13 vuotta sitten
Sam Stephenson
96679b7715
Don't leak local variables
13 vuotta sitten
Sam Stephenson
ed9f69fe23
Fix zsh autocompletion. Closes #47 .
13 vuotta sitten
Joshua Peek
042794b651
use -> shell
13 vuotta sitten
Joshua Peek
d14529461b
Version autocomplete `use` command
13 vuotta sitten
Sam Stephenson
5be66da9f4
Rename rbenv-default to rbenv-global
13 vuotta sitten
Sam Stephenson
53d55eb08c
Update completions
13 vuotta sitten
Sam Stephenson
b45bce80ca
Source the zsh autocompletion script in rbenv-init
13 vuotta sitten
Guten
1700206da8
add zsh completion
13 vuotta sitten
Graham Ashton
7a0cde9a4e
Remove set- prefix from local and default commands.
13 vuotta sitten
Sam Stephenson
f904d1b92f
Complete versions for `rbenv set-local` and `rbenv prefix` too
13 vuotta sitten
Sam Stephenson
ccf7c29fc4
Simplify _rbenv_versions
13 vuotta sitten
Sam Stephenson
e4a040f1e0
Defer to `rbenv commands`
13 vuotta sitten
Sam Stephenson
df034f5d35
Defer to `rbenv versions` instead of reading ~/.rbenv/versions manually
13 vuotta sitten
Sam Stephenson
f7c463bed9
Rename helpers
13 vuotta sitten
Sam Stephenson
4e79ba15f7
Match style
13 vuotta sitten
Sam Stephenson
2099355ad5
Pull in @telemachus' Bash autocompletion defintion from https://gist.github.com/1122379
13 vuotta sitten