fix: remote_script.sh
This commit is contained in:
parent
c8610fb3fd
commit
7e0ad30416
1 changed files with 3 additions and 1 deletions
|
@ -5,6 +5,8 @@
|
||||||
# example:
|
# example:
|
||||||
# curl https://git.ixvd.net/raine/dotfiles/raw/branch/main/remote_script.sh | sh
|
# curl https://git.ixvd.net/raine/dotfiles/raw/branch/main/remote_script.sh | sh
|
||||||
|
|
||||||
git clone https://git.ixvd.net/raine/dotfiles $HOME/.dotfiles
|
HOME=${HOME:-/home/${USER:-$(whomai)}}
|
||||||
|
|
||||||
|
[ -f "$HOME/.dotfiles" ] || git clone https://git.ixvd.net/raine/dotfiles $HOME/.dotfiles
|
||||||
cd $HOME/.dotfiles
|
cd $HOME/.dotfiles
|
||||||
./dot a
|
./dot a
|
||||||
|
|
Loading…
Reference in a new issue