notes/.bash_completions/typer.sh
2024-08-18 02:58:38 -07:00

10 lines
No EOL
258 B
Bash

_typer_completion() {
local IFS=$'
'
COMPREPLY=( $( env COMP_WORDS="${COMP_WORDS[*]}" \
COMP_CWORD=$COMP_CWORD \
_TYPER_COMPLETE=complete_bash $1 ) )
return 0
}
complete -o default -F _typer_completion typer