updated bootstrap script

This commit is contained in:
Phuntsok Drak-pa 2019-10-14 21:18:35 +02:00
parent 152c35838b
commit 2caac2d50c
1 changed files with 9 additions and 0 deletions

View File

@ -28,6 +28,15 @@ yay -Syua emacs python-envtpl-git
printf "\n# Getting yadm susbmodules ####################################################\n"
yadm submodule update --init --recursive
if ! test (echo "phundrak" | sed -e "s/^.*$USER//I")
printf "\n# Update yadms remotes #######################################################\n"
yadm remote set-url origin git@labs.phundrak.fr:phundrak/dotfiles.git
yadm remote add github git@github.com:phundrak/dotfiles.git
printf "\n# Decrypt encrypted dotfiles ##################################################\n"
yadm decrypt
end
printf "\n# Generating alt files ########################################################\n"
yadm alt