aboutsummaryrefslogtreecommitdiff
path: root/zsh/zshrc
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2026-08-27 13:30:59 +0200
committerThomas Schmucker <ts@its1.de>2026-08-27 13:30:59 +0200
commita5fcfee3f33f95b9ad41f42e6676ef0b579904e5 (patch)
tree778f3230d02a93ed8aec15e644bf2506438d7a6f /zsh/zshrc
parentb3b1f245e798319a268b372d33489eaf14fa632e (diff)
downloaddotfiles-a5fcfee3f33f95b9ad41f42e6676ef0b579904e5.tar.gz
dotfiles-a5fcfee3f33f95b9ad41f42e6676ef0b579904e5.tar.bz2
dotfiles-a5fcfee3f33f95b9ad41f42e6676ef0b579904e5.zip
bootstrap: Weitere Skripte für Windows
Diffstat (limited to 'zsh/zshrc')
-rw-r--r--zsh/zshrc14
1 files changed, 5 insertions, 9 deletions
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'
81 81
82# Funktionen 82# Funktionen
83npm-update() { 83npm-update() {
84 if (($+commands[npm])); then 84 npm update -g --loglevel=info
85 npm update -g --loglevel=info
86 fi
87} 85}
88 86
89nvim-update() { 87nvim-update() {
90 if (($+commands[nvim])); then 88 nvim --headless \
91 nvim --headless \ 89 -c "lua require[[lazy]].sync({ wait = true })" \
92 -c "lua require[[lazy]].sync({ wait = true })" \ 90 -c "UpdateParsers" \
93 -c "UpdateParsers" \ 91 -c "qa"
94 -c "qa"
95 fi
96} 92}
97 93
98pkg-update() { 94pkg-update() {