Auto update spacemacs packages on startup

This commit is contained in:
coolneng 2019-10-09 20:42:11 +02:00
parent 20000f8640
commit 39bf5622d0
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ urxvtd -q -f -o &
(sleep 3; bash -c "secret-tool lookup 'gpg' 'login' | gpg2 --no-tty --pinentry-mode loopback --passphrase-fd 0 -d ~/.password-store/mail/uni.gpg") &
## Spacemacs daemon
(sleep 6; cd ~/.emacs.d; git pull --rebase; emacs --daemon=instance1) &
(sleep 6; cd ~/.emacs.d; git pull --rebase; emacs --batch -l ~/.emacs.d/init.el --eval="(configuration-layer/update-packages t)"; emacs --daemon=instance1) &
## Vim plugin update
(sleep 6; vim +PlugUpgrade +PlugUpdate +qa) &