diff options
Diffstat (limited to 'zsh')
| -rw-r--r-- | zsh/zshrc | 14 |
1 files changed, 5 insertions, 9 deletions
| @@ -81,18 +81,14 @@ alias ls='ls -G' | |||
| 81 | 81 | ||
| 82 | # Funktionen | 82 | # Funktionen |
| 83 | npm-update() { | 83 | npm-update() { |
| 84 | if (($+commands[npm])); then | 84 | npm update -g --loglevel=info |
| 85 | npm update -g --loglevel=info | ||
| 86 | fi | ||
| 87 | } | 85 | } |
| 88 | 86 | ||
| 89 | nvim-update() { | 87 | nvim-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 | ||
| 98 | pkg-update() { | 94 | pkg-update() { |
