X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=8e1ec13e8f7c75a489695903b6988f317b7f5af0;hb=dbd02d77939c414b67b808fab0d5624fb836421b;hp=be62172c40d9a54e25a461adb095108715442900;hpb=e3f3b08c2e641279e80235e739c3136d8cccac49;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index be62172..8e1ec13 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -3306,8 +3306,10 @@ simple-extract() { WGET_CMD="curl -L -s -o -" elif check_com wget; then WGET_CMD="wget -q -O -" + elif check_com fetch; then + WGET_CMD="fetch -q -o -" else - print "ERROR: neither wget nor curl is installed" >&2 + print "ERROR: neither wget, curl nor fetch is installed" >&2 RC=$((RC+4)) continue fi