- in _tar(), don't perform regular file completion when completing on files

inside tar files
This commit is contained in:
ianmacd 2002-10-14 16:56:46 +00:00
parent 3bf448cc3b
commit 4c22d031fc

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.438 2002/10/13 18:06:00 ianmacd Exp $ # $Id: bash_completion,v 1.439 2002/10/14 18:56:46 ianmacd Exp $
# #
# Copyright (C) Ian Macdonald <ian@caliban.org> # Copyright (C) Ian Macdonald <ian@caliban.org>
# #
@ -2137,7 +2137,7 @@ _tar()
COMPREPLY=( $( compgen -W "$( echo $( tar $untar $tar \ COMPREPLY=( $( compgen -W "$( echo $( tar $untar $tar \
2>/dev/null ) )" -- "$cur" ) ) 2>/dev/null ) )" -- "$cur" ) )
return 0
fi fi
# file completion on relevant files # file completion on relevant files