diff options
Diffstat (limited to 'completions/yum-arch')
-rw-r--r-- | completions/yum-arch | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/completions/yum-arch b/completions/yum-arch index bb864af4..8c217373 100644 --- a/completions/yum-arch +++ b/completions/yum-arch @@ -1,11 +1,9 @@ -# yum-arch(8) completion +# yum-arch(8) completion -*- shell-script -*- -have yum-arch && _yum_arch() { - local cur - COMPREPLY=() - _get_comp_words_by_ref cur + local cur prev words cword + _init_completion || return if [[ "$cur" == -* ]] ; then COMPREPLY=( $( compgen -W '-d -v -vv -n -c -z -s -l -q' -- "$cur" ) ) @@ -15,10 +13,4 @@ _yum_arch() } && complete -F _yum_arch yum-arch -# 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 |