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() {
|
update() {
|
||||||
all() {
|
all() {
|
||||||
|
dotfiles
|
||||||
packages
|
packages
|
||||||
{%@@ if profile == "Moria" @@%}
|
{%@@ if profile == "Moria" @@%}
|
||||||
repo
|
repo
|
||||||
docker-update
|
docker-update
|
||||||
{%@@ endif @@%}
|
{%@@ endif @@%}
|
||||||
plugins
|
plugins
|
||||||
dotfiles
|
|
||||||
}
|
}
|
||||||
|
|
||||||
packages() {
|
packages() {
|
||||||
@ -195,7 +195,7 @@ update() {
|
|||||||
|
|
||||||
plugins() {
|
plugins() {
|
||||||
echo "Updating NeoVim 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 self-update
|
||||||
zinit update -p
|
zinit update -p
|
||||||
{%@@ if profile == "Moria" @@%}
|
{%@@ if profile == "Moria" @@%}
|
||||||
|
Loading…
Reference in New Issue
Block a user