1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-25 23:30:08 +00:00

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

coffee: protect args with double-quote
This commit is contained in:
Robby Russell 2015-09-19 08:59:13 -07:00
commit f7c24e1808

View file

@ -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