Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATH: typo in _tar_archive



*.tgz files didn't complete for tar.

Index: Completion/User/_tar_archive
--- Completion/User/_tar_archive Fri, 31 Dec 1999 13:32:44 +0100 Alexandre
+++ Completion/User/_tar_archive Fri, 14 Jan 2000 20:55:09 +0100 Alexandre
@@ -15,7 +15,7 @@
 
 if [[ "$1" = *[tx]* ]]; then
   if [[ "$1" = *[zZ]* ]]; then
-    _files "$expl[@]" -g '*.((tar|TAR).(gz|GZ|Z)|.tgz)'
+    _files "$expl[@]" -g '*.((tar|TAR).(gz|GZ|Z)|tgz)'
   elif [[ "$1" = *I* ]]; then
     _files "$expl[@]" -g '*.(tar|TAR).bz2'
   else

-- 
Alexandre Duret-Lutz



Messages sorted by: Reverse Date, Date, Thread, Author