diff options
author | Fabian Homborg <FHomborg@gmail.com> | 2015-08-17 12:29:03 +0200 |
---|---|---|
committer | Fabian Homborg <FHomborg@gmail.com> | 2015-08-17 12:29:03 +0200 |
commit | 5e555fc1cfca001e689dc2598d0395472d8c6f4a (patch) | |
tree | 49dc3cd4d58dc0a345d31a8c294b80a12fd3af02 /share/completions/rbenv.fish | |
parent | cb5d36d89f497abd7394c0228f8defa150495a7b (diff) |
Completions: Don't check $cmd[1]
This is already done by fish before calling the completion.
It breaks completion with combiners (#2025) and also with wrappers.
(This does not include git because that's better solved in #2145)
Diffstat (limited to 'share/completions/rbenv.fish')
-rw-r--r-- | share/completions/rbenv.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/rbenv.fish b/share/completions/rbenv.fish index e055b15e..4fbddff1 100644 --- a/share/completions/rbenv.fish +++ b/share/completions/rbenv.fish @@ -2,7 +2,7 @@ function __fish_rbenv_needs_command set cmd (commandline -opc) - if [ (count $cmd) -eq 1 -a $cmd[1] = 'rbenv' ] + if [ (count $cmd) -eq 1 ] return 0 end |