Fix stashed count

The variable `${git_dir}` was not available in the context of the
function `git-info`. It was only defined in the function `_git-action`.
This commit is contained in:
Eugen Kuksa 2014-12-03 20:05:43 +01:00
parent 9539341e1e
commit 8b0ab3ce61

View file

@ -95,6 +95,8 @@ function git-info {
setopt LOCAL_OPTIONS
setopt EXTENDED_GLOB
local git_dir="$(git-dir)"
local action
local action_format
local action_formatted