From 8f9ba2cd094db7eb164a38d704327e230cdcfae0 Mon Sep 17 00:00:00 2001 From: Konrad Borowski Date: Tue, 21 May 2013 09:10:41 +0200 Subject: [PATCH] Escape question mark in ack completion I haven't noticed that because I tested ack in directory with one file. After @gfxmonk sent issue #797, I have noticed the problem. This patch fixes #797 by escaping question mark. --- share/completions/ack.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/ack.fish b/share/completions/ack.fish index 5502bf2b6..3c37be116 100644 --- a/share/completions/ack.fish +++ b/share/completions/ack.fish @@ -72,7 +72,7 @@ complete -c ack -l noenv -l no-env -d 'Ignores environment variables and ackrc f complete -c ack -l ackrc -d 'Specifies location of ackrc file' complete -c ack -l ignore-ack-defaults -d 'Ignore default definitions ack includes' complete -c ack -l create-ackrc -d 'Outputs default ackrc' -complete -c ack -s ? -l help -d 'Shows help' +complete -c ack -s \? -l help -d 'Shows help' complete -c ack -l help-types -d 'Shows all known types' complete -c ack -l dump -d 'Dump information on which options are loaded' complete -c ack -l filter -d 'Forces ack to treat input as a pipe'