/bash_completion.d/autorpm

http://github.com/brinkman83/bashrc · #! · 23 lines · 18 code · 5 blank · 0 comment · 0 complexity · dd9ece521a1b18ecb1403d76a2dac7f5 MD5 · raw file

  1. # autorpm(8) completion
  2. have autorpm &&
  3. _autorpm()
  4. {
  5. local cur
  6. COMPREPLY=()
  7. cur=`_get_cword`
  8. COMPREPLY=( $( compgen -W '--notty --debug --help --version auto add \
  9. fullinfo info help install list remove set' -- "$cur" ) )
  10. } &&
  11. complete -F _autorpm autorpm
  12. # Local variables:
  13. # mode: shell-script
  14. # sh-basic-offset: 4
  15. # sh-indent-comment: t
  16. # indent-tabs-mode: nil
  17. # End:
  18. # ex: ts=4 sw=4 et filetype=sh