Update dotfiles/.local/bin/install-dotfiles, dotfiles/.gitconfig
This commit is contained in:
parent
62f1988026
commit
372db1aa43
2 changed files with 4 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
[advice]
|
||||
detachedHead = false
|
||||
[alias]
|
||||
c = commit
|
||||
ca = commit -a
|
||||
|
@ -49,6 +51,7 @@
|
|||
[user]
|
||||
email =
|
||||
name =
|
||||
# https://git-scm.com/book/en/v2/Git-Internals-Environment-Variables
|
||||
# name = {{ user.git_user_name | default('') }}
|
||||
# email = {{ user.git_user_email | default('') }}
|
||||
[web]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
if [ -f '/etc/qubes-release' ]; then
|
||||
# Qubes dom0
|
||||
qvm-create --label red --template debian-11 provision &> /dev/null || EXIT_CODE=$?
|
||||
qvm-run --pass-io provision 'if [ -d ~/Downloads/professor-dotfiles ]; then cd ~/Downloads/professor-dotfiles && git config pull.rebase false && rm -rf dotfiles/.local/asdf && git pull origin master && git clone https://github.com/asdf-vm/asdf.git dotfiles/.local/asdf --branch v0.10.2; else git clone https://gitlab.com/megabyte-labs/dotfiles.git ~/Downloads/professor-dotfiles; git clone https://github.com/asdf-vm/asdf.git ~/Downloads/professor-dotfiles/dotfiles/.local/asdf --branch v0.10.2; fi; cd ~/Downloads; tar -zcvf /tmp/professor-dotfiles.tar.gz professor-dotfiles'
|
||||
qvm-run --pass-io provision 'if [ -d ~/Downloads/professor-dotfiles ]; then cd ~/Downloads/professor-dotfiles && git config pull.rebase false && rm -rf dotfiles/.local/asdf && git pull origin master && git clone https://github.com/asdf-vm/asdf.git dotfiles/.local/asdf --branch v0.10.2; else git clone https://gitlab.com/megabyte-labs/dotfiles.git ~/Downloads/professor-dotfiles; cd ~/Downloads/professor-dotfiles/dotfiles/.local && git clone https://github.com/asdf-vm/asdf.git asdf --branch v0.10.2; fi; cd ~/Downloads; tar -zcvf /tmp/professor-dotfiles.tar.gz professor-dotfiles'
|
||||
qvm-run --pass-io provision "cat /tmp/professor-dotfiles.tar.gz" > "/tmp/dotfiles.tar.gz"
|
||||
tar -xzf "/tmp/dotfiles.tar.gz" -C "$HOME"
|
||||
rm -f "/tmp/dotfiles.tar.gz"
|
||||
|
|
Loading…
Reference in a new issue