From 1471e5d70bda5832c55249588a0020f8bfb29481 Mon Sep 17 00:00:00 2001 From: Simon Gomizelj Date: Mon, 28 Nov 2011 21:20:06 -0500 Subject: [PATCH] Variables here should be marked local. --- plugins/sprunge/sprunge.plugin.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/sprunge/sprunge.plugin.zsh b/plugins/sprunge/sprunge.plugin.zsh index 32da7b12f..55dff180b 100644 --- a/plugins/sprunge/sprunge.plugin.zsh +++ b/plugins/sprunge/sprunge.plugin.zsh @@ -21,6 +21,8 @@ # Original found at http://www.shellperson.net/sprunge-pastebin-script/ sprunge () { + local url syntax + if [[ -t 0 ]]; then if [[ "$*" ]]; then if [[ -f "$*" ]]; then