aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2026-08-01 16:38:08 +0200
committerThomas Schmucker <ts@its1.de>2026-08-01 16:38:08 +0200
commit428beb1c921ce09bf269560ee67afeb628b5c247 (patch)
treeb47138ee6e6065d4a73ad2af375efb5d9f6cf853 /zsh
parent75f4903d4a488cad4820c68de4083adfea8c4e56 (diff)
downloaddotfiles-428beb1c921ce09bf269560ee67afeb628b5c247.tar.gz
dotfiles-428beb1c921ce09bf269560ee67afeb628b5c247.tar.bz2
dotfiles-428beb1c921ce09bf269560ee67afeb628b5c247.zip
nvim-update erzwingt jetzt ein 'TSUpdate'.
Diffstat (limited to 'zsh')
-rw-r--r--zsh/zshrc9
1 files changed, 8 insertions, 1 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index 47cbdf7..7d8d675 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -76,7 +76,14 @@ alias mc='mc -u'
76alias gdb='gdb -q' 76alias gdb='gdb -q'
77alias pwgen='pwgen -s 48 1' 77alias pwgen='pwgen -s 48 1'
78alias ls='ls -G' 78alias ls='ls -G'
79alias nvim-update='nvim --headless -c "lua require[[lazy]].sync({ wait = true })" -c "qa"' 79
80# Funktionen
81nvim-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
82autoload -U compinit; compinit 89autoload -U compinit; compinit