summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-09-26 09:07:05 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-09-26 09:07:05 +0200
commit6b3a1f55ff23e5a888994737d2b64f9ebbd7c08d (patch)
treea20e13efa863a25af44e26fb95a8c898542fc676
parentbac9aa0632af47342c62f23b7b3df7313b400c4a (diff)
put: fix syntax
-rw-r--r--etc/functions/put2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/functions/put b/etc/functions/put
index c246e64..7dc78a0 100644
--- a/etc/functions/put
+++ b/etc/functions/put
@@ -14,7 +14,7 @@ typeset -i pic make_random
zmodload zsh/stat
if [[ -z ${commands[curl]} ]]; then
- function curl {return 0}
+ function curl { return 0; }
print -P "%B%F{yellow}curl not present, won't be able to check upload success%f%b"
fi