From e30e17ceee6a88cc0cb41928d9fbdd20acfdf629 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Fri, 31 Jul 2026 10:09:42 +0200 Subject: nvim-update: Benutze das gleiche Kommando für Windows und POSIX MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- windows/bin/nvim-update.cmd | 2 +- zsh/zshrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/windows/bin/nvim-update.cmd b/windows/bin/nvim-update.cmd index 7e8260e..82b20d5 100644 --- a/windows/bin/nvim-update.cmd +++ b/windows/bin/nvim-update.cmd @@ -1,2 +1,2 @@ @echo off -nvim --headless "+Lazy! sync" "+qa" +nvim --headless -c "lua require[[lazy]].sync({ wait = true })" -c "qa" diff --git a/zsh/zshrc b/zsh/zshrc index 2e39d0e..47cbdf7 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -76,7 +76,7 @@ alias mc='mc -u' alias gdb='gdb -q' alias pwgen='pwgen -s 48 1' alias ls='ls -G' -alias nvim-update='nvim --headless -c "lua require(\"lazy\").sync({ wait = true })" -c "qa"' +alias nvim-update='nvim --headless -c "lua require[[lazy]].sync({ wait = true })" -c "qa"' # Command completion autoload -U compinit; compinit -- cgit v1.3