aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-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() {