From 413b9537af3313b36813556e9f699e03f9858236 Mon Sep 17 00:00:00 2001 From: Simon Gomizelj Date: Mon, 28 Nov 2011 16:23:46 -0500 Subject: [PATCH] Sprunge should call return, not exit on failure now. Otherwise it kills the shell... doh. --- plugins/sprunge/sprunge.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sprunge/sprunge.plugin.zsh b/plugins/sprunge/sprunge.plugin.zsh index 20204b156..208e381e7 100644 --- a/plugins/sprunge/sprunge.plugin.zsh +++ b/plugins/sprunge/sprunge.plugin.zsh @@ -72,7 +72,7 @@ description, it will NOT generate an error, but will instead treat it as a text string and upload it. HERE - exit + return 1 fi else syntax="text" # We're dumb in this mode. So, dumb syntax highlighting!