diff options
author | Robby Russell <robby@planetargon.com> | 2015-09-19 08:59:13 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2015-09-19 08:59:13 -0700 |
commit | f7c24e1808441d4e8d9a35c728e964643f7a94fa (patch) | |
tree | 0c797da795505a4f77093f29cb2cc919939ef6e5 /plugins/coffee/coffee.plugin.zsh | |
parent | 544eccb5ddf2f650df5906bc4600731dc3e980b4 (diff) | |
parent | 1e8196de8289a69268a9631ddf4d3b3519ade5c1 (diff) | |
download | zsh-f7c24e1808441d4e8d9a35c728e964643f7a94fa.tar.gz zsh-f7c24e1808441d4e8d9a35c728e964643f7a94fa.tar.bz2 zsh-f7c24e1808441d4e8d9a35c728e964643f7a94fa.zip |
Merge pull request #4137 from troter/coffee-first-argument-with-double-quote
coffee: protect args with double-quote
Diffstat (limited to 'plugins/coffee/coffee.plugin.zsh')
-rw-r--r-- | plugins/coffee/coffee.plugin.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/coffee/coffee.plugin.zsh b/plugins/coffee/coffee.plugin.zsh index 1a7bedd87..4e98e0228 100644 --- a/plugins/coffee/coffee.plugin.zsh +++ b/plugins/coffee/coffee.plugin.zsh @@ -2,11 +2,11 @@ # compile a string of coffeescript and print to output cf () { - coffee -peb $1 + coffee -peb "$1" } # compile & copy to clipboard cfc () { - cf $1 | pbcopy + cf "$1" | pbcopy } # compile from pasteboard & print |