install pmt binary

This commit is contained in:
Dietmar Maurer committed 2021-02-05 12:42:20 +01:00
1 parent 8dc45e291a
commit 4c209d6b10
9 files changed
+85 -1

No files matched your search

+13
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")
}