tvl-depot/configs/uninstall

18 lines
437 B
Text
Raw Normal View History

#!/usr/bin/env bash
configs="$DOTFILES/configs"
case $(hostname) in
# desktop
wpcarro.lon.corp.google.com)
(cd "$configs/desktop" && stow --delete --target="$HOME" *);;
# laptop
wpcarro)
(cd "$configs/laptop" && stow --delete --target="$HOME" *);;
# cloudtop
wpcarro.c.googlers.com)
(cd "$configs/cloudtop" && stow --delete --target="$HOME" *);;
esac
(cd "$configs/shared" && stow --delete --target="$HOME" *)