mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
fix: assign to functions hash to make %x work
The useful %x prompt expansion can be used to get path to the executed script:
0=${(%):-%x}
It is always the correct, expected value, even for autoloaded functions. However,
it currently doesn't work with Zinit special fpath-pollution free autoload.
This patch fixes this.
This commit is contained in:
parent
52e112c7c3
commit
bd65a01734
Loading…
Reference in a new issue