diff --git a/bash_completion b/bash_completion index 3369e037..c774680e 100644 --- a/bash_completion +++ b/bash_completion @@ -1,6 +1,6 @@ # bash_completion - some programmable completion functions for bash 2.05a # -# $Id: bash_completion,v 1.354 2002/06/10 15:36:50 ianmacd Exp $ +# $Id: bash_completion,v 1.355 2002/06/11 18:49:57 ianmacd Exp $ # # Copyright (C) Ian Macdonald # @@ -18,7 +18,7 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# RELEASE: 20020609 +# RELEASE: 20020611 [ -n "$DEBUG" ] && set -v || set +v @@ -1940,7 +1940,7 @@ _tar() esac - if [ "${COMP_LINE#*$ext }" != "$COMP_LINE" ]; then + if [[ "$COMP_LINE" == *$ext' ' ]]; then # complete on files in tar file # # get name of tar file from command line