g-plane / zsh-yarn-autocompletions

Zsh plugin for Yarn autocompletions.
MIT License
578 stars 18 forks source link

fix: fixing build script #4

Closed arthurdenner closed 6 years ago

arthurdenner commented 6 years ago

When using functions on .sh files, the function prefix isn't necessary. Actually, if you try to run the script with ./build.sh, it throws an error: ./build.sh: 1: ./build.sh: Syntax error: "(" unexpected.

g-plane commented 6 years ago

Do you mean if you run:

$ ./build.sh

it will throw an error?

arthurdenner commented 6 years ago

Yes. It throws this syntax error. I forgot to mention that I'm using Ubuntu, if that's relevant.

g-plane commented 6 years ago

Thanks for your PR.