Remove stray "0" output from man completions

This commit is contained in:
Fabian Homborg 2016-05-29 14:34:20 +02:00
parent 0d257fd651
commit bfb5fec330

View file

@ -6,7 +6,7 @@ function __fish_complete_man
set section "" set section ""
set prev (commandline -poc) set prev (commandline -poc)
set -e prev[1] set -e prev[1]
while count $prev while set -q prev[1]
switch $prev[1] switch $prev[1]
case '-**' case '-**'