diff options
Diffstat (limited to 'configs/uninstall')
-rw-r--r-- | configs/uninstall | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configs/uninstall b/configs/uninstall new file mode 100644 index 000000000000..547d01280951 --- /dev/null +++ b/configs/uninstall @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +configs="$DOTFILES/configs" + +if [[ $(uname) == 'Darwin' ]]; then + (cd "$configs/os_x" && stow --delete --target="$HOME" *) +elif [[ $(uname) == 'Linux' ]]; then + (cd "$configs/linux" && stow --delete --target="$HOME" *) +fi + +(cd "$configs/shared" && stow --delete --target="$HOME" *) |