From 21855752931edd9cac20f6272b2647e082054047 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Mon, 4 Dec 2023 10:14:51 +0200 Subject: [PATCH] Update all: update dotfiles first, use lazy restore instead of sync --- home/.config/zsh/04-aliases.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/.config/zsh/04-aliases.zsh b/home/.config/zsh/04-aliases.zsh index 4a5a1516..d9ea72e3 100644 --- a/home/.config/zsh/04-aliases.zsh +++ b/home/.config/zsh/04-aliases.zsh @@ -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" @@%}