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