2023-10-14 22:38:16 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# this script is meant to be ran when .dotfiles is not present.
|
|
|
|
#
|
|
|
|
# example:
|
|
|
|
# curl https://git.ixvd.net/raine/dotfiles/raw/branch/main/remote_script.sh | sh
|
|
|
|
|
2023-11-19 01:11:59 +01:00
|
|
|
set -e
|
|
|
|
|
2023-11-16 15:52:49 +01:00
|
|
|
HOME=${HOME:-/home/${USER:-$(whomai)}}
|
|
|
|
|
2023-11-16 15:53:33 +01:00
|
|
|
[ -d "$HOME/.dotfiles" ] || git clone https://git.ixvd.net/raine/dotfiles $HOME/.dotfiles
|
2023-10-14 22:38:16 +02:00
|
|
|
cd $HOME/.dotfiles
|
|
|
|
./dot a
|