From a7cf6e3f7ecae09b4fe46195cc1c419852a19748 Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Wed, 16 Nov 2011 20:15:18 +0100 Subject: [PATCH] zshrc: simple-extract: make curl follow redirects --- etc/zsh/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 65f457f..086a9a4 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -3178,7 +3178,7 @@ simple-extract() { elif [[ "$ARCHIVE" == (#s)(https|http|ftp)://* ]] ; then if check_com curl; then - WGET_CMD="curl -k -s -o -" + WGET_CMD="curl -L -k -s -o -" elif check_com wget; then WGET_CMD="wget -q -O - --no-check-certificate" else -- 2.1.4