If alias-tips.plugin.zsh is sourced from a symlink (as when used with my zulu plugin manager) it fails to find alias-tips.py as it's in a different directory. This fix corrects that by detecting if the script is a symlink when it's sourced, and updating the $_alias_tips__PLUGIN_DIR variable accordingly.
If
alias-tips.plugin.zsh
is sourced from a symlink (as when used with my zulu plugin manager) it fails to findalias-tips.py
as it's in a different directory. This fix corrects that by detecting if the script is a symlink when it's sourced, and updating the$_alias_tips__PLUGIN_DIR
variable accordingly.