Add caddyfmt alias

This commit is contained in:
Eric Torres 2024-02-27 16:15:25 -08:00
parent cdca68a551
commit 8f6038ce3a

View File

@ -50,7 +50,7 @@ alias sshconfig='"${EDITOR}" -- ${HOME}/.ssh/config'
# system # system
alias myip='curl ifconfig.me' alias myip='curl ifconfig.me'
alias caddyfmt='for dropin in ~/Containers/caddy/dropins/*; do docker exec caddy caddy fmt --overwrite /etc/caddy/dropins/"$f"' alias caddyfmt='for dropin in ~/Containers/caddy/dropins/*; do docker exec caddy caddy fmt --overwrite /etc/caddy/dropins/"$f"; done'
alias caddyreload='docker exec caddy caddy fmt --overwrite /etc/caddy/Caddyfile && docker exec caddy caddy reload -c /etc/caddy/Caddyfile' alias caddyreload='docker exec caddy caddy fmt --overwrite /etc/caddy/Caddyfile && docker exec caddy caddy reload -c /etc/caddy/Caddyfile'
# zsh # zsh