- minor removepkg fix

This commit is contained in:
ianmacd 2002-12-19 20:57:36 +00:00
parent 38a9d41914
commit eb3d8ef738

View File

@ -1,6 +1,6 @@
# bash_completion - some programmable completion functions for bash 2.05b # 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> # Copyright (C) Ian Macdonald <ian@caliban.org>
# #
@ -4096,7 +4096,7 @@ _removepkg()
COMPREPLY=( $( (cd /var/log/packages; compgen -f -- "$cur") ) ) COMPREPLY=( $( (cd /var/log/packages; compgen -f -- "$cur") ) )
} }
[ -n "${have:-}" ] && complete -F _removepkg $filenames removepkg && [ -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 # look(1) completion
# #