lein-githooks icon indicating copy to clipboard operation
lein-githooks copied to clipboard

Split commands on whitespace instead of non word characters

Open carlduevel opened this issue 4 years ago • 3 comments

Make commands with options possible (e. g. git stash -k)

carlduevel avatar Jun 08 '20 17:06 carlduevel

This change appears to also be necessary if the lein command itself includes non-word characters, e.g. lein clj-kondo. In this case, aliasing can be used as a workaround, but isn't ideal.

bdrillard avatar Mar 30 '22 18:03 bdrillard

This PR looks like it would solve issues #1 and #2

pfernandez avatar May 26 '22 00:05 pfernandez

For anyone else looking at this, although this project appears to be abandoned, I just tried https://clojars.org/rasom/lein-githooks and it ran :pre-commit ["sh bin/pre-commit] just fine.

pfernandez avatar May 26 '22 00:05 pfernandez