gfredericks / lein-all-my-files-should-end-with-exactly-one-newline-character

A Clojure linter that enforces end-of-file newlines.
Eclipse Public License 1.0
11 stars 0 forks source link

Question mark in name makes `but-do-they?` un-callable from zsh #1

Open aengelberg opened 6 years ago

aengelberg commented 6 years ago
$ lein all-my-files-should-end-with-exactly-one-newline-character but-do-they?
zsh: no matches found: but-do-they?

I propose renaming it to but-do-they (without a question mark), leaving but-do-they? deprecated.

aengelberg commented 6 years ago

I'm able to work around this issue by calling:

$ echo 'lein all-my-files-should-end-with-exactly-one-newline-character but-do-they?' | sh
gfredericks commented 6 years ago

I already have an alias for check, I'm happy to have another alias without the question-mark.

PR welcome!

gfredericks commented 6 years ago

Also, does your hipster shell not allow quoting just the arg with the qmark?

$ lein all-my-files-should-end-with-exactly-one-newline-character 'but-do-they?'