jedahan/oh-my-zsh — comment on commit 4943aa24948651545d00eed87f4fab9986f2e1ac
File: environment.zsh line 59
By sorin-ionescu:

Actually, a path to OMZ could be useful in the future, but it should be in _init.zsh_ before everything else, not in environment. The question is `OMZ="${0:h}"` or `OMZ="${0:h:A}"`? The later gives the real path by resolving symbolic links.