1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-13 19:00:40 +01: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

View File

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