qrush / sub

a delicious way to organize programs
http://37signals.com/svn/posts/3264-automating-with-convention-introducing-sub
MIT License
1.74k stars 148 forks source link

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

Closed bradical closed 6 years ago

bradical commented 11 years ago

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 11 years ago

I created my sub using the project at 37signals/sub@bb93f151df9e4219ae4153c83aad63ee6494a5d8

mislav commented 11 years ago

Might be caused by 212ac1362933fe17d70c3195da3527bb34762085

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

bradical commented 11 years ago

Great. I'll try that. Thanks!