Release 2.24.0

This commit is contained in:
arcanis committed 2026-11-30 23:35:02 +02:00
1 parent e1565398f4
commit 2b3b0558ea
7 files changed
+51 -13

No files matched your search

@@ -1095,7 +1095,17 @@ typeset -A opt_args
if [[ $zsh_eval_context[-1] == eval ]]; then
# eval/source/. command, register function for later
compdef _shtab_ahriman -N ahriman
_shtab_ahriman_register() {
# `compdef` is defined by `compinit`
if (( $+functions[compdef] )); then
compdef _shtab_ahriman -N ahriman
# drop registration hook (avoid multiple `compdef` calls)
add-zsh-hook -d precmd _shtab_ahriman_register
fi
}
# register completer before next prompt
autoload -Uz add-zsh-hook
add-zsh-hook precmd _shtab_ahriman_register
else
# autoload from fpath, call function directly
_shtab_ahriman "$@"