mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-18 21:27:42 +00:00
Update all: update dotfiles first, use lazy restore instead of sync
This commit is contained in:
parent
8eed2f76b5
commit
468cc65e27
@ -170,13 +170,13 @@ passync() { pass git pull && pass git push && updatesecrets }
|
||||
|
||||
update() {
|
||||
all() {
|
||||
dotfiles
|
||||
packages
|
||||
{%@@ if profile == "Moria" @@%}
|
||||
repo
|
||||
docker-update
|
||||
{%@@ endif @@%}
|
||||
plugins
|
||||
dotfiles
|
||||
}
|
||||
|
||||
packages() {
|
||||
@ -195,7 +195,7 @@ update() {
|
||||
|
||||
plugins() {
|
||||
echo "Updating NeoVim plugins"
|
||||
nvim --headless -c "Lazy! sync" -c 'TSUpdateSync' -c 'MasonToolsUpdate' -c 'qa'
|
||||
nvim --headless -c "Lazy! restore" -c 'TSUpdateSync' -c 'MasonToolsUpdate' -c 'qa'
|
||||
zinit self-update
|
||||
zinit update -p
|
||||
{%@@ if profile == "Moria" @@%}
|
||||
|
Loading…
Reference in New Issue
Block a user