Watch
1
0
Fork
You've already forked dotfiles
0

Add utility to generate shell completions

This commit is contained in:
Alexander Hess 2026-08-03 09:36:33 +02:00
commit a8b0a0e68e
Signed by: alexander
GPG key ID: B46EDB4DFC26805D
4 changed files with 109 additions and 2 deletions

3
.zshrc
View file

@ -49,6 +49,9 @@ stty -ixon # Prevent Ctrl+S from freezing `zsh`
# Enable (tab) completions
# Look for completion files generated by ~/.local/bin/generate-shell-completions
fpath=("${XDG_DATA_HOME:-$HOME/.local/share}/zsh/completions" $fpath)
autoload -Uz compinit && compinit -u -d "${XDG_STATE_HOME:-$HOME/.local/state}/zsh/zcompdump"
# Enable match highlighting and scrolling through long lists,