From 43d45335db2dcfcb8c143a248057636508bfc4ae Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 7 May 2015 15:26:15 +0200 Subject: [PATCH] zshrc: drop insecure options from curl/wget cmdlines in simple-extract() --- etc/zsh/zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 8cfb1cb..6ff7a88 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -3295,9 +3295,9 @@ simple-extract() { elif [[ "$ARCHIVE" == (#s)(https|http|ftp)://* ]] ; then if check_com curl; then - WGET_CMD="curl -L -k -s -o -" + WGET_CMD="curl -L -s -o -" elif check_com wget; then - WGET_CMD="wget -q -O - --no-check-certificate" + WGET_CMD="wget -q -O -" else print "ERROR: neither wget nor curl is installed" >&2 RC=$((RC+4)) -- 2.1.4