[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.0-39-g23ac383
Igor Murzov
e-mail at date.by
Thu Sep 6 14:45:34 UTC 2012
The following commit has been merged in the master branch:
commit 3622f2f9e531ddbb243b39774546cf11ee9ccf3e
Author: Igor Murzov <e-mail at date.by>
Date: Thu Sep 6 17:58:35 2012 +0400
tar: Fix detection if the $prev is a tar file.
It also makes the completion work better with long options (Debian: #685223)
diff --git a/completions/tar b/completions/tar
index 45f3ff3..a18fb78 100644
--- a/completions/tar
+++ b/completions/tar
@@ -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
--
bash-completion
More information about the Bash-completion-commits
mailing list