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

Already on GitHub? Sign in to your account

zsh: error "command not found:" when loading shell #32

Open
bradical opened this Issue Jan 7, 2013 · 3 comments

Comments

Projects
None yet
2 participants

bradical commented Jan 7, 2013

I've created an example that reproduces this here

I have the following in my .zshrc:

eval "$(/Users/bradley/Dev/zsh-sub-test/bin/zsh-sub-test init -)"

and when I load a new shell, I get the following:

eval "$(/Users/bradley/Dev/zsh-sub-test/bin/zsh-sub-test init -)"(eval):16: command not found: zsh-sub-test=_zsh-sub-test_wrapper

bradical commented Jan 7, 2013

I created my sub using the project at bb93f15

mislav commented Jan 7, 2013

Might be caused by 212ac13

Seems like you'd be better off if your sub name didn't contain dashes

bradical commented Jan 7, 2013

Great. I'll try that. Thanks!

@mislav mislav added a commit to mislav/sub that referenced this issue Jan 7, 2013

@mislav mislav the name of a sub cannot contain dashes
References #32
5e79faf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment