Skip to content


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

bradical opened this Issue · 3 comments

2 participants


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

I created my sub using the project at basecamp/sub@bb93f15


Might be caused by 212ac13

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


Great. I'll try that. Thanks!

@mislav mislav added a commit to mislav/sub that referenced this issue
@mislav mislav the name of a sub cannot contain dashes
References #32
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.