Closed devn closed 6 years ago
Instead of using the symlink from bin/sub to ../libexec/sub I wanted to make the symlink from _SUB_ROOT/sub to libexec/sub.
bin/sub
../libexec/sub
_SUB_ROOT/sub
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.
cd .
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?
sub-init
abs_dirname()
dirname
basename
Instead of using the symlink from
bin/sub
to../libexec/sub
I wanted to make the symlink from_SUB_ROOT/sub
tolibexec/sub
.The following error in ZSH was produced as a result:
In Bash this same command is
cd .
, which produces no error.