Fix ZSH error when using symlink from _SUB_ROOT/sub instead of bin/sub #24

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

devn commented Nov 6, 2012

I confirmed that this works with both bash and zsh.

[refs #23]

Contributor

qrush commented Dec 7, 2012

This doesn't work for me when I'm trying it in our 37 sub, which I have in ~/.37.

I'm getting:

/Users/qrush/.37/bin/37: line 13: cd: .//Users/qrush/.37/bin: No such file or directory
37: no such command `init'

Re this comment on #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?"

I'm not too sure. Maybe @sstephenson knows?

@devn devn closed this Mar 10, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment