From 2ddd839f525b0e7b961d66f8462b751624435bc1 Mon Sep 17 00:00:00 2001 From: David Adam Date: Mon, 17 Nov 2014 18:16:11 +0800 Subject: Fix error in yum completions Pass -- to contains. Closes #1811. --- share/completions/yum.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') 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 -- cgit v1.2.3