Added completions for tula

This commit is contained in:
2026-03-13 06:34:23 +01:00
committed by Dreaded_X
parent daa73fbabc
commit 533b29e5e3
2 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
#compdef tula
_tula_completion() {
eval $(env _TYPER_COMPLETE_ARGS="${words[1,$CURRENT]}" _TULA_COMPLETE=complete_zsh tula)
}
compdef _tula_completion tula

View File

@@ -59,6 +59,7 @@ zvm_after_init_commands+=('autopair-init')
# Might cause issues? # Might cause issues?
KEYTIMEOUT=1 KEYTIMEOUT=1
fpath+=${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/completions
fpath+=${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions/src fpath+=${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions/src
autoload -U compinit && compinit autoload -U compinit && compinit
source "$ZSH/oh-my-zsh.sh" source "$ZSH/oh-my-zsh.sh"