diff options
author | Alan Pearce | 2019-10-02 16:55:23 +0200 |
---|---|---|
committer | Alan Pearce | 2019-10-02 16:55:23 +0200 |
commit | ec7f1357d16ff2f4aa7430a2940a0b9519018595 (patch) | |
tree | 28f4b022aff0ec38e7891ec677703a074dfd89f8 /user/unstow-all | |
parent | 8a65ab00b625139984aeb6c3a1a93f8bc9d3fc85 (diff) | |
parent | a261579a74bc3bf9ec673ef190f1ec4bb625b86b (diff) | |
download | nixfiles-ec7f1357d16ff2f4aa7430a2940a0b9519018595.tar.lz nixfiles-ec7f1357d16ff2f4aa7430a2940a0b9519018595.tar.zst nixfiles-ec7f1357d16ff2f4aa7430a2940a0b9519018595.zip |
Add 'user/' from commit 'a261579a74bc3bf9ec673ef190f1ec4bb625b86b'
git-subtree-dir: user git-subtree-mainline: 8a65ab00b625139984aeb6c3a1a93f8bc9d3fc85 git-subtree-split: a261579a74bc3bf9ec673ef190f1ec4bb625b86b
Diffstat (limited to 'user/unstow-all')
-rwxr-xr-x | user/unstow-all | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/user/unstow-all b/user/unstow-all new file mode 100755 index 00000000..3e56fd31 --- /dev/null +++ b/user/unstow-all @@ -0,0 +1,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." |