diff --git a/share/completions/ack.fish b/share/completions/ack.fish index 6ad573b71..5502bf2b6 100644 --- a/share/completions/ack.fish +++ b/share/completions/ack.fish @@ -84,7 +84,7 @@ complete -c ack -l bar -d 'The warning admiral' # File types if type ack > /dev/null - for type in (ack --dump ^/dev/null | perl -lne 'print $1 if /^\s+--type-add=([^:]+)/' | uniq) + for type in (ack --dump ^/dev/null | perl -lne 'print $1 if /^\s+--type-add=([^:]+)/' | uniq) complete -c ack -l $type -d "Allow $type file type" complete -c ack -l no$type -l no-$type -d "Don't allow $type file type" end