1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-01 18:30:55 +01:00

Holger Weiss: 27977: _git shouldn't return 0 if there are no matches.

This commit is contained in:
Frank Terbeck 2010-06-03 10:34:08 +00:00
parent fdebbca754
commit c617e5a07b
2 changed files with 8 additions and 1 deletions

View file

@ -4471,11 +4471,13 @@ if [[ $service == git ]]; then
else
curcontext="${curcontext%:*:*}:git-$words[1]:"
_call_function ret _git-$words[1]
return ret
fi
;;
esac
else
_call_function ret _$service
return ret
fi
}