From 0bc58b66a4850cdb8458a86c3d9a2fc81de82aa3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 11:14:42 +0200 Subject: Adding upstream version 1:2.11. Signed-off-by: Daniel Baumann --- completions/rpm2tgz | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 completions/rpm2tgz (limited to 'completions/rpm2tgz') diff --git a/completions/rpm2tgz b/completions/rpm2tgz new file mode 100644 index 0000000..5ddcfd5 --- /dev/null +++ b/completions/rpm2tgz @@ -0,0 +1,17 @@ +# Slackware rpm2tgz completion -*- shell-script -*- + +_rpm2tgz() +{ + local cur prev words cword + _init_completion || return + + if [[ $cur == -* ]]; then + COMPREPLY=($(compgen -W '-s -S -n -r -d -c' -- "$cur")) + return + fi + + _filedir "rpm" +} && + complete -F _rpm2tgz rpm2tgz rpm2txz rpm2targz + +# ex: filetype=sh -- cgit v1.2.3