From d0200a6b07e497d07dff2cfe0857f4dceb724b58 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 1 Oct 2019 21:24:50 +0200 Subject: Prepare for home-manager migration --- unstow-all | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 unstow-all (limited to 'unstow-all') diff --git a/unstow-all b/unstow-all new file mode 100755 index 0000000..3e56fd3 --- /dev/null +++ b/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." -- cgit 1.4.1