#!/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."