diff options
Diffstat (limited to 'completions/autorpm')
-rw-r--r-- | completions/autorpm | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/completions/autorpm b/completions/autorpm index 6a5f7620..377ac987 100644 --- a/completions/autorpm +++ b/completions/autorpm @@ -1,12 +1,9 @@ -# autorpm(8) completion +# autorpm(8) completion -*- shell-script -*- -have autorpm && _autorpm() { - local cur - - COMPREPLY=() - _get_comp_words_by_ref cur + local cur prev words cword + _init_completion || return COMPREPLY=( $( compgen -W '--notty --debug --help --version auto add \ fullinfo info help install list remove set' -- "$cur" ) ) @@ -14,10 +11,4 @@ _autorpm() } && 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 |