mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-10 07:16:23 -04:00
Fix variable lifecycle :bugs:
This commit is contained in:
parent
ae84827919
commit
0a3bbb4ecc
|
|
@ -56,8 +56,8 @@ ga() {
|
|||
git status
|
||||
}
|
||||
# git ignore
|
||||
local giCache=~/.giCache
|
||||
local giIndex=$giCache/.list
|
||||
export giCache=~/.giCache
|
||||
export giIndex=$giCache/.list
|
||||
unalias gi 2>/dev/null
|
||||
gi() {
|
||||
[ -f $giIndex ] || gi-update-index
|
||||
|
|
|
|||
Loading…
Reference in a new issue