X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=6ff7a88357fba256b88e0bd225134b2094050f7d;hb=43d45335db2dcfcb8c143a248057636508bfc4ae;hp=bf6a90264446fe60b2b8450ac7e0e8d657c3ede1;hpb=b9a705677f13f26dde24e938c98314271e6cba27;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index bf6a902..6ff7a88 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -3165,12 +3165,12 @@ if (( $#grep_options > 0 )); then fi # Translate DE<=>EN -# 'translate' looks up fot a word in a file with language-to-language +# 'translate' looks up a word in a file with language-to-language # translations (field separator should be " : "). A typical wordlist looks -# like at follows: -# | english-word : german-transmission +# like the following: +# | english-word : german-translation # It's also only possible to translate english to german but not reciprocal. -# Use the following oneliner to turn back the sort order: +# Use the following oneliner to reverse the sort order: # $ awk -F ':' '{ print $2" : "$1" "$3 }' \ # /usr/local/lib/words/en-de.ISO-8859-1.vok > ~/.translate/de-en.ISO-8859-1.vok #f5# Translates a word @@ -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))