Update install script
This commit is contained in:
parent
8f587175ea
commit
b645f1982d
1 changed files with 11 additions and 7 deletions
18
install.sh
18
install.sh
|
@ -1,10 +1,14 @@
|
|||
#!/usr/bin/sh
|
||||
|
||||
git clone --bare https://git.serguzim.me/serguzim/.dotfiles.git "$HOME/.dotfiles" || exit
|
||||
git clone --bare https://git.serguzim.me/serguzim/.dotfiles.git "$HOME/.local/share/yadm/repo.git" || exit
|
||||
|
||||
alias .f='git --git-dir="$HOME/.dotfiles"'
|
||||
.f config core.bare false
|
||||
.f config core.worktree "$HOME"
|
||||
.f config status.showUntrackedFiles no
|
||||
.f remote set-url --push origin "git@git.serguzim.me:serguzim/.dotfiles.git"
|
||||
.f stash push -m 'Stash before dotfiles'
|
||||
alias yadm='git --git-dir="$HOME/.local/share/yadm/repo.git"'
|
||||
yadm config core.bare false
|
||||
yadm config core.worktree "$HOME"
|
||||
yadm config status.showUntrackedFiles no
|
||||
yadm remote set-url --push origin "git@git.serguzim.me:serguzim/.dotfiles.git"
|
||||
yadm status
|
||||
|
||||
mkdir -p "$HOME/.local/bin"
|
||||
curl -Lo "$HOME/.local/bin/autoinstall" https://git.serguzim.me/serguzim/tools/releases/download/latest/autoinstall
|
||||
chmod +x "$HOME/.local/bin/autoinstall"
|
||||
|
|
Loading…
Reference in a new issue