diff --git a/remote_script.sh b/remote_script.sh index fee8f05..c0b656a 100644 --- a/remote_script.sh +++ b/remote_script.sh @@ -5,6 +5,8 @@ # example: # curl https://git.ixvd.net/raine/dotfiles/raw/branch/main/remote_script.sh | sh +set -e + HOME=${HOME:-/home/${USER:-$(whomai)}} [ -d "$HOME/.dotfiles" ] || git clone https://git.ixvd.net/raine/dotfiles $HOME/.dotfiles