diff --git a/.stow-local-ignore b/.stow-local-ignore index 858b01f..e9a22c1 100644 --- a/.stow-local-ignore +++ b/.stow-local-ignore @@ -1,3 +1 @@ -^/\.git.* -^/README\.md ^/site.* diff --git a/local/bin/dots b/local/bin/dots index ffb2f37..27364b5 100755 --- a/local/bin/dots +++ b/local/bin/dots @@ -1,6 +1,15 @@ #!/usr/bin/env zsh # WHAT IS THIS +global_ignore=( + '\.git.*' + 'README\.md' + '\.stow-no-folding' + '\.stow-rename' + '\.mypy_cache' + '\..*\.swp' +) + 'bootstrap'() { echo 'Bootstrapping your dotfiles...' >&2 mkdir -p $DOTFILES @@ -53,7 +62,7 @@ for nofold in $DOTFILES/${^packages}/.stow-no-folding(N); process-stow-no-folding $nofold - $STOW -d $DOTFILES -t ~ $packages + $STOW -d $DOTFILES -t ~ --ignore=${^global_ignore} $packages } 'process-stow-no-folding'() {