From 366933413bb448cbc9ceda668e5b727f0c3a5789 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Tue, 3 Apr 2018 21:13:11 -0500 Subject: [PATCH] Fix string match argument parsing in __fish_seen_argument --- share/functions/__fish_seen_argument.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_seen_argument.fish b/share/functions/__fish_seen_argument.fish index dd9a6dd2b..20fed3279 100644 --- a/share/functions/__fish_seen_argument.fish +++ b/share/functions/__fish_seen_argument.fish @@ -11,7 +11,7 @@ function __fish_seen_argument end for l in $_flag_l - if string match -q "--$l" -- $t + if string match -q -- "--$l" $t return 0 end end