install pmtx binary

This commit is contained in:
Dietmar Maurer committed 2021-01-27 11:36:15 +01:00
1 parent 887f1cb90c
commit c972704477
8 files changed
+161 -2

No files matched your search

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