2016-08-19 18:02:49 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2018-07-19 01:53:53 +02:00
|
|
|
configs="$HOME/dotfiles/configs"
|
2016-11-10 17:47:44 +01:00
|
|
|
|
2017-06-23 19:01:16 +02:00
|
|
|
if [[ $(uname) == 'Darwin' ]]; then
|
2018-07-19 01:53:53 +02:00
|
|
|
(cd "$configs/os_x" && stow --target="$HOME" *)
|
2017-06-23 19:01:16 +02:00
|
|
|
elif [[ $(uname) == 'Linux' ]]; then
|
2018-07-19 01:53:53 +02:00
|
|
|
(cd "$configs/linux" && stow --target="$HOME" *)
|
2017-06-23 19:01:16 +02:00
|
|
|
fi
|
2016-11-10 17:47:44 +01:00
|
|
|
|
2018-07-19 01:53:53 +02:00
|
|
|
(cd "$configs/shared" && stow --target="$HOME" *)
|