zsh-workers
 help / color / mirror / code / Atom feed
* PATH: typo in _tar_archive
@ 2000-01-14 20:03 Alexandre Duret-Lutz
  0 siblings, 0 replies; only message in thread
From: Alexandre Duret-Lutz @ 2000-01-14 20:03 UTC (permalink / raw)
  To: zsh-workers


*.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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-01-14 20:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-14 20:03 PATH: typo in _tar_archive Alexandre Duret-Lutz

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).