diff options
author | William Carroll <wpcarro@gmail.com> | 2019-03-16T23·54+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2019-03-16T23·54+0000 |
commit | 2a70fdf5c2cb7012e5102dd3a3dd2ad23123dea7 (patch) | |
tree | 1bcc0a646b0d292e4b0d22d921e921ac10ed7edd /configs/install | |
parent | 44e46bbce2bd94ff6c9379152696619186ae248d (diff) |
Support uninstall; setup -> install
- support uninstall in Makefile - change setup script name to install
Diffstat (limited to 'configs/install')
-rwxr-xr-x | configs/install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configs/install b/configs/install new file mode 100755 index 000000000000..0e0ba9290af2 --- /dev/null +++ b/configs/install @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +configs="$DOTFILES/configs" + +if [[ $(uname) == 'Darwin' ]]; then + (cd "$configs/os_x" && stow --target="$HOME" *) +elif [[ $(uname) == 'Linux' ]]; then + (cd "$configs/linux" && stow --target="$HOME" *) +fi + +(cd "$configs/shared" && stow --target="$HOME" *) |