- minor removepkg fix
This commit is contained in:
parent
38a9d41914
commit
eb3d8ef738
@ -1,6 +1,6 @@
|
||||
# bash_completion - some programmable completion functions for bash 2.05b
|
||||
#
|
||||
# $Id: bash_completion,v 1.491 2002/12/19 21:56:47 ianmacd Exp $
|
||||
# $Id: bash_completion,v 1.492 2002/12/19 21:57:36 ianmacd Exp $
|
||||
#
|
||||
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
||||
#
|
||||
@ -4096,7 +4096,7 @@ _removepkg()
|
||||
COMPREPLY=( $( (cd /var/log/packages; compgen -f -- "$cur") ) )
|
||||
}
|
||||
[ -n "${have:-}" ] && complete -F _removepkg $filenames removepkg &&
|
||||
complete -o dirnames -f -X '!*.tgz' installpkg upgradepkg explodepkg
|
||||
complete $dirnames -f -X '!*.tgz' installpkg upgradepkg explodepkg
|
||||
|
||||
# look(1) completion
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user