aliases: run shfmt on the whole folder

My apologies to future `git blame` hunters ♥
This commit is contained in:
John D Pell
2022-01-16 12:44:18 -08:00
parent 0619c19f65
commit 7c2c2a5525
14 changed files with 200 additions and 215 deletions

View File

@@ -4,20 +4,18 @@ cite 'about-alias'
about-alias 'Curl aliases for convenience.'
# set apt aliases
function _set_pkg_aliases()
{
if _command_exists curl
then
function _set_pkg_aliases() {
if _command_exists curl; then
# follow redirects
alias cl='curl -L'
# follow redirects, download as original name
alias clo='curl -L -O'
# follow redirects, download as original name, continue
alias cloc='curl -L -C - -O'
# follow redirects, download as original name, continue, retry 5 times
alias clocr='curl -L -C - -O --retry 5'
# follow redirects, fetch banner
alias clb='curl -L -I'
alias cl='curl -L'
# follow redirects, download as original name
alias clo='curl -L -O'
# follow redirects, download as original name, continue
alias cloc='curl -L -C - -O'
# follow redirects, download as original name, continue, retry 5 times
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