mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Use double dashes for contains in fossil completions.
This fixes the issue with strange behaviour of fish shell when first option of a command is an option.
This commit is contained in:
parent
a069aec11d
commit
166a2f91bd
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ end
|
|||
function __fish_fossil_command
|
||||
set -l cmd (commandline -poc)
|
||||
test (count $cmd) -gt 1
|
||||
and contains $cmd[2] $argv
|
||||
and contains -- $cmd[2] $argv
|
||||
end
|
||||
|
||||
function __fish_fossil_subcommand
|
||||
|
|
Loading…
Reference in a new issue