summaryrefslogtreecommitdiff
path: root/plugins/coffee
diff options
context:
space:
mode:
authorTakumi IINO <trot.thunder@gmail.com>2015-07-08 11:16:44 +0900
committerTakumi IINO <trot.thunder@gmail.com>2015-07-08 11:16:44 +0900
commit1e8196de8289a69268a9631ddf4d3b3519ade5c1 (patch)
tree7aa44954bef125292641beed1099bd37563d112c /plugins/coffee
parent3ea33841863c4f5f22a27e64ae7950d901b674af (diff)
downloadzsh-1e8196de8289a69268a9631ddf4d3b3519ade5c1.tar.gz
zsh-1e8196de8289a69268a9631ddf4d3b3519ade5c1.tar.bz2
zsh-1e8196de8289a69268a9631ddf4d3b3519ade5c1.zip
passing the first argument with double quote
Diffstat (limited to 'plugins/coffee')
-rw-r--r--plugins/coffee/coffee.plugin.zsh4
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