Closed rinetd closed 6 years ago
Just a note, git config core.symlinks=true is actually default behavior, it has to be explicitly disabled for this to be an issue.
git config core.symlinks=true
That said, this PR will not provide the correct path when functionargzero is disabled (setopt nofunctionargzero).
functionargzero
setopt nofunctionargzero
We can make it more robust by adding:
0=${(%):-%N}
At the top, to make sure 0 is defined.
0
:+1: ye,that's right
0=${(%):-%N} source ${0:A:h}/async.zsh
@rinetd did you want to submit the complete PR with 0 included?
Just a note,
git config core.symlinks=true
is actually default behavior, it has to be explicitly disabled for this to be an issue.That said, this PR will not provide the correct path when
functionargzero
is disabled (setopt nofunctionargzero
).We can make it more robust by adding:
At the top, to make sure
0
is defined.