Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zsh throws error when sub is symlinked from _SUB_ROOT #23

Closed
devn opened this issue Nov 6, 2012 · 1 comment
Closed

zsh throws error when sub is symlinked from _SUB_ROOT #23

devn opened this issue Nov 6, 2012 · 1 comment

Comments

@devn
Copy link

devn commented Nov 6, 2012

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
Copy link
Author

devn commented Nov 7, 2012

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?

@jeremy jeremy closed this as completed Sep 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants