From bfb5fec330b24fa54f648fdc96e2b2e40639eaef Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Sun, 29 May 2016 14:34:20 +0200 Subject: [PATCH] Remove stray "0" output from man completions --- share/functions/__fish_complete_man.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_complete_man.fish b/share/functions/__fish_complete_man.fish index 7306dd2cb..bd9818bb9 100644 --- a/share/functions/__fish_complete_man.fish +++ b/share/functions/__fish_complete_man.fish @@ -6,7 +6,7 @@ function __fish_complete_man set section "" set prev (commandline -poc) set -e prev[1] - while count $prev + while set -q prev[1] switch $prev[1] case '-**'