install pmtx binary

This commit is contained in:
Dietmar Maurer
2021-01-27 11:31:26 +01:00
parent 887f1cb90c
commit c972704477
8 changed files with 161 additions and 2 deletions

13
zsh-completions/_pmtx Normal file
View File

@ -0,0 +1,13 @@
#compdef _pmtx() pmtx
function _pmtx() {
local cwords line point cmd curr prev
cworkds=${#words[@]}
line=$words
point=${#line}
cmd=${words[1]}
curr=${words[cwords]}
prev=${words[cwords-1]}
compadd -- $(COMP_CWORD="$cwords" COMP_LINE="$line" COMP_POINT="$point" \
pmtx bashcomplete "$cmd" "$curr" "$prev")
}