added typer.sh file to be put into ~/.bash_completions
This commit is contained in:
parent
42667e25c2
commit
d0ce2c2e45
1 changed files with 10 additions and 0 deletions
10
typer.sh
Normal file
10
typer.sh
Normal file
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue