diff options
Diffstat (limited to '')
-rw-r--r-- | completions/rpm2tgz | 17 |
1 files changed, 17 insertions, 0 deletions
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 |