Files
dotfiles/install.conf.yaml
2020-04-23 14:50:36 +02:00

12 lines
392 B
YAML

- shell:
- /bin/sh -c 'tmpd="$(mktemp -d)"; for file in .config/*; do [ ! -e "$HOME/$file" ] || mv "$HOME/$file" "$tmpd"; done; rmdir "$tmpd" 2>/dev/null || { tar czvf "existing-$(date +"%s").tar.gz" "$tmpd" && rm -rf "$tmpd"; }'
- link:
~/.Xresources:
.Xresources
~/.zshenv:
.zshenv
~/.config/:
create: true
glob: true
path: .config/*