diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-08-01 16:38:08 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-08-01 16:38:08 +0200 |
| commit | 428beb1c921ce09bf269560ee67afeb628b5c247 (patch) | |
| tree | b47138ee6e6065d4a73ad2af375efb5d9f6cf853 /zsh/zshrc | |
| parent | 75f4903d4a488cad4820c68de4083adfea8c4e56 (diff) | |
| download | dotfiles-428beb1c921ce09bf269560ee67afeb628b5c247.tar.gz dotfiles-428beb1c921ce09bf269560ee67afeb628b5c247.tar.bz2 dotfiles-428beb1c921ce09bf269560ee67afeb628b5c247.zip | |
nvim-update erzwingt jetzt ein 'TSUpdate'.
Diffstat (limited to 'zsh/zshrc')
| -rw-r--r-- | zsh/zshrc | 9 |
1 files changed, 8 insertions, 1 deletions
| @@ -76,7 +76,14 @@ alias mc='mc -u' | |||
| 76 | alias gdb='gdb -q' | 76 | alias gdb='gdb -q' |
| 77 | alias pwgen='pwgen -s 48 1' | 77 | alias pwgen='pwgen -s 48 1' |
| 78 | alias ls='ls -G' | 78 | alias ls='ls -G' |
| 79 | alias nvim-update='nvim --headless -c "lua require[[lazy]].sync({ wait = true })" -c "qa"' | 79 | |
| 80 | # Funktionen | ||
| 81 | nvim-update() { | ||
| 82 | nvim --headless \ | ||
| 83 | -c "lua require[[lazy]].sync({ wait = true })" \ | ||
| 84 | -c "TSUpdate" \ | ||
| 85 | -c "qa" | ||
| 86 | } | ||
| 80 | 87 | ||
| 81 | # Command completion | 88 | # Command completion |
| 82 | autoload -U compinit; compinit | 89 | autoload -U compinit; compinit |
