a86c2ddece
After discovering GNU stow on Nix IRC, refactored install and setup scripts to consume it. Code is vastly simplified as a result.
11 lines
284 B
Bash
Executable file
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" *)
|