diff options
author | Konrad Borowski <x.fix@o2.pl> | 2014-09-21 14:31:44 +0200 |
---|---|---|
committer | Konrad Borowski <x.fix@o2.pl> | 2014-09-21 14:32:37 +0200 |
commit | 166a2f91bdfa6a5f0f341028b9309788e888b974 (patch) | |
tree | 31641e9840ce751e98f86c25c83150b453857080 /share | |
parent | a069aec11d694b4b4f729367feef578379f24d8c (diff) |
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.
Diffstat (limited to 'share')
-rw-r--r-- | share/completions/fossil.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/fossil.fish b/share/completions/fossil.fish index bc04d0ca..4459d6ff 100644 --- a/share/completions/fossil.fish +++ b/share/completions/fossil.fish @@ -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 |