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.
2017-02-10 09:12:30 +01:00
Yamashita Yuu
5bfec84432
add fish shell support
2013-09-28 16:11:02 +02:00
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.
2013-02-23 23:54:10 +01:00
Sam Stephenson
f635c8715c
Add zsh support for completion of full command line
2012-12-28 13:25:24 -06:00
Brian Olsen
02332d78f3
Added bash support for completion of full command line
2012-10-05 04:28:25 +02:00
richo
65f0be0c20
Bail on completion init if we're not an interactive shell
...
Based on the approach by @imajes
2011-12-11 01:57:56 +11:00
Sam Stephenson
b4f8906b24
Update zsh completion adapter
2011-09-13 13:12:04 -05:00
Sam Stephenson
6da85246c6
Proof-of-concept external completions
2011-09-13 10:13:27 -05:00
Sam Stephenson
96679b7715
Don't leak local variables
2011-09-10 20:13:42 -05:00
Sam Stephenson
ed9f69fe23
Fix zsh autocompletion. Closes #47 .
2011-09-10 20:10:07 -05:00
Joshua Peek
042794b651
use -> shell
2011-09-07 10:26:11 -05:00
Joshua Peek
d14529461b
Version autocomplete use
command
2011-09-06 22:07:21 -05:00
Sam Stephenson
5be66da9f4
Rename rbenv-default to rbenv-global
2011-08-18 14:35:00 -05:00
Sam Stephenson
53d55eb08c
Update completions
2011-08-18 14:13:20 -05:00
Sam Stephenson
174e101799
Merge remote-tracking branch 'gma/drop-set-prefix' into drop-set-prefix
2011-08-18 12:50:06 -05:00
Sam Stephenson
b45bce80ca
Source the zsh autocompletion script in rbenv-init
2011-08-16 00:13:12 -05:00
Guten
1700206da8
add zsh completion
2011-08-16 12:43:58 +08:00
Graham Ashton
7a0cde9a4e
Remove set- prefix from local and default commands.
2011-08-13 08:26:54 +01:00
Sam Stephenson
f904d1b92f
Complete versions for rbenv set-local
and rbenv prefix
too
2011-08-03 22:28:30 -05:00
Sam Stephenson
ccf7c29fc4
Simplify _rbenv_versions
2011-08-03 22:22:45 -05:00
Sam Stephenson
e4a040f1e0
Defer to rbenv commands
2011-08-03 22:20:25 -05:00
Sam Stephenson
df034f5d35
Defer to rbenv versions
instead of reading ~/.rbenv/versions manually
2011-08-03 21:50:03 -05:00
Sam Stephenson
f7c463bed9
Rename helpers
2011-08-03 21:43:40 -05:00
Sam Stephenson
4e79ba15f7
Match style
2011-08-03 20:44:29 -05:00
Sam Stephenson
2099355ad5
Pull in @telemachus' Bash autocompletion defintion from https://gist.github.com/1122379
2011-08-03 20:41:06 -05:00