From 6d05011aa3c88a8cfbbc7b664c2ebf788bbd4743 Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Tue, 27 Feb 2024 16:15:25 -0800 Subject: [PATCH] Add caddyfmt alias --- zsh/.config/zsh/00-common-aliases.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/.config/zsh/00-common-aliases.zsh b/zsh/.config/zsh/00-common-aliases.zsh index 645a300..42c5e82 100644 --- a/zsh/.config/zsh/00-common-aliases.zsh +++ b/zsh/.config/zsh/00-common-aliases.zsh @@ -50,7 +50,7 @@ alias sshconfig='"${EDITOR}" -- ${HOME}/.ssh/config' # system alias myip='curl ifconfig.me' -alias caddyfmt='for dropin in ~/Containers/caddy/dropins/*; do docker exec caddy caddy fmt --overwrite /etc/caddy/dropins/"$f"; 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' # zsh