From a5fcfee3f33f95b9ad41f42e6676ef0b579904e5 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Thu, 27 Aug 2026 13:30:59 +0200 Subject: bootstrap: Weitere Skripte für Windows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zsh/zshrc | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'zsh') diff --git a/zsh/zshrc b/zsh/zshrc index 4b15a03..acd9ed5 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -81,18 +81,14 @@ alias ls='ls -G' # Funktionen npm-update() { - if (($+commands[npm])); then - npm update -g --loglevel=info - fi + npm update -g --loglevel=info } nvim-update() { - if (($+commands[nvim])); then - nvim --headless \ - -c "lua require[[lazy]].sync({ wait = true })" \ - -c "UpdateParsers" \ - -c "qa" - fi + nvim --headless \ + -c "lua require[[lazy]].sync({ wait = true })" \ + -c "UpdateParsers" \ + -c "qa" } pkg-update() { -- cgit v1.3