install pmt binary

This commit is contained in:
Dietmar Maurer
2021-02-05 11:12:52 +01:00
parent 8dc45e291a
commit 4c209d6b10
9 changed files with 85 additions and 1 deletions

13
zsh-completions/_pmt Normal file
View File

@ -0,0 +1,13 @@
#compdef _pmt() pmt
function _pmt() {
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" \
pmt bashcomplete "$cmd" "$curr" "$prev")
}