summary refs log tree commit diff stats
path: root/unstow-all
blob: 3e56fd316e0f95068477f05ab6c5a301d45b8d8c (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env zsh

set -euo pipefail

echo "Checking if all packages can be unstowed"
./stow -Dn --ignore="tabnine_config\.json" *(/)

echo "Unstowing!"
./stow -D --ignore="tabnine_config\.json" *(/)

rmdir ~/.config/nixpkgs || echo "Could not remove nixpkgs directory. Remove it manually before running the installer."