Merge pull request #821 from roXet/curlalias

adding new curl alais to show only headers on a GET request
pull/824/head
Nils Winkler 2016-11-02 09:07:34 +01:00 committed by GitHub
commit 62eb23f302
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,8 @@ function _set_pkg_aliases()
alias clocr='curl -L -C - -O --retry 5'
# follow redirects, fetch banner
alias clb='curl -L -I'
# see only response headers from a get request
alias clhead='curl -D - -so /dev/null'
fi
}