diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-08-27 13:30:59 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-08-27 13:30:59 +0200 |
| commit | a5fcfee3f33f95b9ad41f42e6676ef0b579904e5 (patch) | |
| tree | 778f3230d02a93ed8aec15e644bf2506438d7a6f /zsh/zshrc | |
| parent | b3b1f245e798319a268b372d33489eaf14fa632e (diff) | |
| download | dotfiles-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/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() { |
