Add utility to generate shell completions
This commit is contained in:
parent
5df789c413
commit
a8b0a0e68e
4 changed files with 109 additions and 2 deletions
3
.zshrc
3
.zshrc
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue