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:
parent
fdebbca754
commit
c617e5a07b
2 changed files with 8 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue