tvl-depot/configs/setup
William Carroll a86c2ddece Prefer stow over hand-rolled solution
After discovering GNU stow on Nix IRC, refactored install and setup
scripts to consume it.

Code is vastly simplified as a result.
2018-07-19 12:00:08 -04:00

11 lines
284 B
Bash
Executable file

#!/usr/bin/env bash
configs="$HOME/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" *)