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:
parent
9539341e1e
commit
8b0ab3ce61
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue