projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5173aea
)
zshrc: simple-extract: make curl follow redirects
author
Bernhard Tittelbach
<bernhard@tittelbach.org>
Wed, 16 Nov 2011 19:15:18 +0000
(20:15 +0100)
committer
Bernhard Tittelbach
<bernhard@tittelbach.org>
Wed, 16 Nov 2011 19:15:18 +0000
(20:15 +0100)
etc/zsh/zshrc
patch
|
blob
|
history
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
65f457f
..
086a9a4
100644
(file)
--- 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