adding new curl alais to show only headers on a GET request

pull/821/head
jason 2016-11-01 16:24:38 -05:00
parent 463aa1b587
commit 1208ad71ed
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' alias clocr='curl -L -C - -O --retry 5'
# follow redirects, fetch banner # follow redirects, fetch banner
alias clb='curl -L -I' alias clb='curl -L -I'
# see only response headers from a get request
alias clhead='curl -D - -so /dev/null'
fi fi
} }