zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: Re: completion problem with filename including #
@ 2000-08-03 11:10 Sven Wischnowsky
  2000-08-03 11:47 ` Tanaka Akira
  0 siblings, 1 reply; 2+ messages in thread
From: Sven Wischnowsky @ 2000-08-03 11:10 UTC (permalink / raw)
  To: zsh-workers


Tanaka Akira wrote:

> Z:akr@cvs% zsh -f
> cvs% bindkey -e; autoload -U compinit; compinit -D
> cvs% rmdir /cvs/root/www/\#cvs.lock/<TAB>
> _path_files:327: bad pattern: /cvs/root/www/#cvs.lock/*(-/)

Damn. This `quoting of glob characters' just made it one more step up
in my list of things that would be nice to have in C-code, efficiently.

Bye
 Sven

Index: Completion/Core/_path_files
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Core/_path_files,v
retrieving revision 1.27
diff -u -r1.27 _path_files
--- Completion/Core/_path_files	2000/07/26 09:16:13	1.27
+++ Completion/Core/_path_files	2000/08/03 11:08:38
@@ -421,6 +421,7 @@
     # There are more components, so skip over the next components and make a
     # slash be added.
 
+    tmp1=( ${tmp1//(#b)([][()|*?^#~<>])/\\${match[1]}} )
     tmp2="${(M)tpre##((.|..|)/)##}"
     if [[ -n "$tmp2" ]]; then
       skipped="/$tmp2"

--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-08-03 11:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-03 11:10 PATCH: Re: completion problem with filename including # Sven Wischnowsky
2000-08-03 11:47 ` Tanaka Akira

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