- make tar completion -o filenames by default.
-o dirnames can be obtained by setting $COMP_TAR_INTERNAL_PATHS prior to sourcing.
This commit is contained in:
parent
2eb0abeb55
commit
a45daccea2
@ -1,6 +1,6 @@
|
||||
# bash_completion - some programmable completion functions for bash 2.05a
|
||||
#
|
||||
# $Id: bash_completion,v 1.371 2002/06/24 21:40:04 ianmacd Exp $
|
||||
# $Id: bash_completion,v 1.372 2002/06/25 15:48:33 ianmacd Exp $
|
||||
#
|
||||
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
||||
#
|
||||
@ -1965,7 +1965,8 @@ _tar()
|
||||
|
||||
return 0
|
||||
}
|
||||
complete -F _tar $dirnames tar
|
||||
[ -n "$COMP_TAR_INTERNAL_PATHS" ] && complete -F _tar $dirnames tar ||
|
||||
complete -F _tar $filenames tar
|
||||
|
||||
# jar(1) completion
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user