diff --git a/docker/.gitignore b/docker/.gitignore index 934c1fb..b5d7ad6 100644 --- a/docker/.gitignore +++ b/docker/.gitignore @@ -1 +1,2 @@ */.env +*/DISABLED diff --git a/home/.config/zsh/03-aliases.zsh b/home/.config/zsh/03-aliases.zsh index 77da1f9..7483365 100644 --- a/home/.config/zsh/03-aliases.zsh +++ b/home/.config/zsh/03-aliases.zsh @@ -162,9 +162,13 @@ update() { docker-update() { for dir in $HOME/git/dotfiles/docker/*; do cd $dir - dct pull - dct up -d - cd .. + if [[ -f "DISABLED" ]]; then + echo "$dir stack is disabled, skipping..." + else + dct pull + dct up -d + cd .. + fi done }