tar: Fix detection if the $prev is a tar file.
It also makes the completion work better with long options (Debian: #685223)
This commit is contained in:
parent
2babb45402
commit
3622f2f9e5
@ -56,7 +56,7 @@ _tar()
|
||||
esac
|
||||
|
||||
case $prev in
|
||||
*$ext)
|
||||
*${ext:-$tars})
|
||||
# complete on files in tar file
|
||||
#
|
||||
# get name of tar file from command line
|
||||
|
Loading…
x
Reference in New Issue
Block a user