diff options
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/User/_killall | 6 | ||||
-rw-r--r-- | Completion/User/_pack | 6 | ||||
-rw-r--r-- | Completion/User/_unpack | 6 | ||||
-rw-r--r-- | Completion/User/_whereis | 6 |
4 files changed, 24 insertions, 0 deletions
diff --git a/Completion/User/_killall b/Completion/User/_killall new file mode 100644 index 000000000..5df1acbb9 --- /dev/null +++ b/Completion/User/_killall @@ -0,0 +1,6 @@ +#compdef killall + +if compset -P 1 -; then + _description expl signal + compadd "$expl[@]" $signals[1,-3] +fi diff --git a/Completion/User/_pack b/Completion/User/_pack new file mode 100644 index 000000000..a15cfa709 --- /dev/null +++ b/Completion/User/_pack @@ -0,0 +1,6 @@ +#compdef pack + +local expl + +_description expl 'file to compress' +_files "$expl[@]" -g '*~*.z' diff --git a/Completion/User/_unpack b/Completion/User/_unpack new file mode 100644 index 000000000..fb8867560 --- /dev/null +++ b/Completion/User/_unpack @@ -0,0 +1,6 @@ +#compdef unpack pcat + +local expl + +_description expl 'compressed file' +_files "$expl[@]" -g '*.z' diff --git a/Completion/User/_whereis b/Completion/User/_whereis new file mode 100644 index 000000000..42fc30969 --- /dev/null +++ b/Completion/User/_whereis @@ -0,0 +1,6 @@ +#compdef whereis + +local expl + +_description expl command +compgen "$expl[@]" -m |