From 6b3a1f55ff23e5a888994737d2b64f9ebbd7c08d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 26 Sep 2015 09:07:05 +0200 Subject: put: fix syntax --- etc/functions/put | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3