summaryrefslogtreecommitdiff
path: root/plugins/coffee/coffee.plugin.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/coffee/coffee.plugin.zsh')
-rw-r--r--plugins/coffee/coffee.plugin.zsh12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/coffee/coffee.plugin.zsh b/plugins/coffee/coffee.plugin.zsh
index 1a7bedd87..77cb663f7 100644
--- a/plugins/coffee/coffee.plugin.zsh
+++ b/plugins/coffee/coffee.plugin.zsh
@@ -2,15 +2,15 @@
# 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" | clipcopy
}
-# compile from pasteboard & print
-alias cfp='coffeeMe "$(pbpaste)"'
+# compile from clipboard & print
+alias cfp='coffeeMe "$(clippaste)"'
-# compile from pasteboard and copy to clipboard
-alias cfpc='cfp | pbcopy'
+# compile from clipboard and copy to clipboard
+alias cfpc='cfp | clipcopy'