mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 13:50:09 +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:
commit
f7c24e1808
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue