- add initial option support to _tar()
This commit is contained in:
parent
3888c637b2
commit
afeabd71be
@ -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 <ian@caliban.org>
|
||||
#
|
||||
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user