diff --git a/bash_completion b/bash_completion index c70fb2d8..89ccf366 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.184 2002/03/07 18:44:48 ianmacd Exp $ +# $Id: bash_completion,v 1.185 2002/03/07 18:47:12 ianmacd Exp $ # # Copyright (C) Ian Macdonald # @@ -1541,7 +1541,10 @@ _tar() COMPREPLY=() cur=${COMP_WORDS[COMP_CWORD]} - [ $COMP_CWORD -eq 1 ] && return 0 + if [ $COMP_CWORD = 1 ]; then + COMPREPLY=( $( compgen -W 'c t x u r d A' -- $cur ) ) + return 0 + fi case "${COMP_WORDS[1]}" in c*f)