Add caddyfmt alias
This commit is contained in:
parent
6d05011aa3
commit
70cf4b8cd2
@ -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/"$dropin"; done'
|
alias caddyfmt='for dropin in ~/Containers/caddy/dropins/*; do docker exec caddy caddy fmt --overwrite /etc/caddy/dropins/"${dropin##*/}"; 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user