fix caddy bash_aliases

This commit is contained in:
Arya 2023-05-14 19:46:42 +08:00
parent c5c9f75cc8
commit cc234c06fc
Signed by: arya
GPG Key ID: 842D12BDA50DF120

View File

@ -18,9 +18,9 @@ alias gc='git commit'
alias gp='git push' alias gp='git push'
alias lc='fc -nl $HISTCMD' alias lc='fc -nl $HISTCMD'
# CADDY # CADDY
alias rc='caddy reload --config ~/Caddyfile' alias rc='caddy reload --config /etc/caddy/Caddyfile'
alias ft='caddy fmt --overwrite ~/Caddyfile' alias ft='caddy fmt --overwrite /etc/caddy/*.caddy && caddy fmt --overwrite /etc/caddy/Caddyfile'
alias vt='caddy validate --config ~/Caddyfile' alias vt='caddy validate --config /etc/caddy/*.caddy && caddy validate --config /etc/caddy/Caddyfile'
# DOCKER # DOCKER
alias dockup='docker compose pull; docker compose down && docker compose up -d --build --remove-orphans' alias dockup='docker compose pull; docker compose down && docker compose up -d --build --remove-orphans'
# Navigation # Navigation