diff --git a/share/completions/yum.fish b/share/completions/yum.fish index 35f878d0c..7db604b02 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