diff --git a/typer.sh b/typer.sh new file mode 100644 index 00000000..f77c8e82 --- /dev/null +++ b/typer.sh @@ -0,0 +1,10 @@ +_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 \ No newline at end of file