diff options
author | 2014-11-17 18:16:11 +0800 | |
---|---|---|
committer | 2014-11-17 18:16:11 +0800 | |
commit | 2ddd839f525b0e7b961d66f8462b751624435bc1 (patch) | |
tree | 621aab7d901bcc8a5b31e23334aff71f05c5050f /share | |
parent | 7555772432c889082b8f03cf9b0bcdab6157eff7 (diff) |
Fix error in yum completions
Pass -- to contains.
Closes #1811.
Diffstat (limited to 'share')
-rw-r--r-- | share/completions/yum.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/yum.fish b/share/completions/yum.fish index 35f878d0..7db604b0 100644 --- a/share/completions/yum.fish +++ b/share/completions/yum.fish @@ -7,7 +7,7 @@ # Test if completing using package names is appropriate function __fish_yum_package_ok for i in (commandline -poc) - if contains $i update upgrade remove erase install reinstall + if contains -- $i update upgrade remove erase install reinstall return 0 end end |