/bash_completion_lib/complete -o filenames/removepkg
http://github.com/brinkman83/bashrc · #! · 15 lines · 9 code · 6 blank · 0 comment · 0 complexity · 881bee78e2b0b3df39eb446f256f5574 MD5 · raw file
- # Slackware Linux removepkg completion
- comp_include _get_cword
- _removepkg()
- {
- local packages cur
- COMPREPLY=()
- cur=`_get_cword`
- COMPREPLY=( $( (cd /var/log/packages && compgen -f -- "$cur") ) )
- } # _removepkg()