12 lines
328 B
Bash
12 lines
328 B
Bash
#!/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
|
|
|
|
HOME=${HOME:-/home/${USER:-$(whomai)}}
|
|
|
|
[ -f "$HOME/.dotfiles" ] || git clone https://git.ixvd.net/raine/dotfiles $HOME/.dotfiles
|
|
cd $HOME/.dotfiles
|
|
./dot a
|