Skip to content


Subversion checkout URL

You can clone with
Download ZIP


zsh throws error when sub is symlinked from _SUB_ROOT #23

devn opened this Issue · 1 comment

1 participant


Instead of using the symlink from bin/sub to ../libexec/sub I wanted to make the symlink from _SUB_ROOT/sub to libexec/sub.

The following error in ZSH was produced as a result:

sub: line 13: cd: sub: Not a directory

In Bash this same command is cd ., which produces no error.

@devn devn referenced this issue from a commit in devn/sub
@devn devn Fix error in zsh when symlinking to sub from _SUB_ROOT
[refs #23]

Nevermind. My pull request breaks sub-init. Could you please explain why abs_dirname() is the way that it is? Is there a reason some combination of dirname and basename is insufficient?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.