diff options
author | David Paleino <d.paleino@gmail.com> | 2009-10-10 17:15:58 +0200 |
---|---|---|
committer | David Paleino <d.paleino@gmail.com> | 2009-10-10 17:15:58 +0200 |
commit | e5a9b6220e93ca656fd9774c6aefa78241edca6f (patch) | |
tree | 4a65aa19b18fe2e8dcec24a1c97ce9746a6f91ff /contrib/autorpm | |
parent | 96d00c3d7f1912d4f3f76f8ea21ef68d179b8b30 (diff) | |
download | bash-completion-c791e37c7b86e2dcefc0b8debb501054d1081668.tar.gz |
Imported Upstream version 1.1upstream/1.1
Diffstat (limited to 'contrib/autorpm')
-rw-r--r-- | contrib/autorpm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/contrib/autorpm b/contrib/autorpm new file mode 100644 index 00000000..e111af02 --- /dev/null +++ b/contrib/autorpm @@ -0,0 +1,23 @@ +# autorpm(8) completion + +have autorpm && +_autorpm() +{ + local cur + + COMPREPLY=() + cur=`_get_cword` + + COMPREPLY=( $( compgen -W '--notty --debug --help --version auto add \ + fullinfo info help install list remove set' -- "$cur" ) ) + +} && +complete -F _autorpm autorpm + +# Local variables: +# mode: shell-script +# sh-basic-offset: 4 +# sh-indent-comment: t +# indent-tabs-mode: nil +# End: +# ex: ts=4 sw=4 et filetype=sh |