Merge pull request #4137 from troter/coffee-first-argument-with-double-quote

coffee: protect args with double-quote
master
Robby Russell 11 years ago
commit f7c24e1808
  1. 4
      plugins/coffee/coffee.plugin.zsh

@ -2,11 +2,11 @@
# compile a string of coffeescript and print to output # compile a string of coffeescript and print to output
cf () { cf () {
coffee -peb $1 coffee -peb "$1"
} }
# compile & copy to clipboard # compile & copy to clipboard
cfc () { cfc () {
cf $1 | pbcopy cf "$1" | pbcopy
} }
# compile from pasteboard & print # compile from pasteboard & print

Loading…
Cancel
Save