From: Nicolas Boisselier Date: Wed, 28 Sep 2016 08:42:58 +0000 (+0100) Subject: Get,Head X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=3a659d3e82d70b5136d90b3c6359d3a2df489661;p=nb.git Get,Head --- diff --git a/etc/profile.d/aliases b/etc/profile.d/aliases index ae1eda91..cc8a0f0a 100644 --- a/etc/profile.d/aliases +++ b/etc/profile.d/aliases @@ -52,8 +52,8 @@ test "$TERM_PROGRAM" = "iTerm.app" && export PROMPT_COMMAND='printf "\033]0;%s\0 # NB 10.09.16 } #alias Get='lynx --source -dump' #alias Head='lynx --head -dump' -alias Get='curl -k' -alias Head='curl -k --head' +alias Get='curl -sk' +alias Head='curl -sk --head' # NB 15.07.15 function nbGet() { # NB 15.07.15 declare host port uri # NB 15.07.15 eval $(perl -ne 'm,^\s*\w+://([^/:]+)(?::(\d+))?(/.*)?\s*$, and print qq|host=$1 port=$2 uri=$3\n|' <<< "$@")