- minor apt-cache completion fix

This commit is contained in:
ianmacd 2003-05-26 16:22:44 +00:00
parent cfd4576b9b
commit 36f10c9a40

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.570 2003/05/26 18:17:05 ianmacd Exp $ # $Id: bash_completion,v 1.571 2003/05/26 18:22:44 ianmacd Exp $
# #
# Copyright (C) Ian Macdonald <ian@caliban.org> # Copyright (C) Ian Macdonald <ian@caliban.org>
# #
@ -1643,7 +1643,9 @@ _apt_cache()
return 0 return 0
;; ;;
search) search)
return 0 if [[ "$cur" != -* ]]; then
return 0
fi
;; ;;
esac esac