De zshoptions(1)
CHASE_LINKS (-w) Resolve symbolic links to their true values when changing direc- tory. This also has the effect of CHASE_DOTS, i.e. a '..' path segment will be treated as referring to the physical parent, even if the preceding path segment is a symbolic link.
Então você deve setopt CHASE_LINKS
em algum lugar no seu .zshrc
. Também há sinalizadores para cd
, que variarão o comportamento do cd
.
If the -s option is specified, cd refuses to change the current directory if the given pathname contains symlinks. If the -P option is given or the CHASE_LINKS option is set, symbolic links are resolved to their true values. If the -L option is given symbolic links are retained in the directory (and not resolved) regardless of the state of the CHASE_LINKS option.