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

RE: PATCH: (was Re: _configure does not work)



Andrej Borsenkow wrote:

> > > 2. l ~/.z/C<TAB>
> > >     Beep
> > > ~/.zsh.d/Completion exists and was correctly completed before a
> > couple of
> > > last patches :-)
> >
> > Hm, this works for me.
> >
> 
> That what I get with set -x:
> ...

Ah, you don't use `globcomplete'...

Bye
 Sven

diff -u oc/Core/_path_files Completion/Core/_path_files
--- oc/Core/_path_files	Tue Mar  9 15:25:02 1999
+++ Completion/Core/_path_files	Tue Mar  9 15:25:05 1999
@@ -95,6 +95,7 @@
   str="${PREFIX}*${SUFFIX}"
 else
   str="${PREFIX:q}*${SUFFIX:q}"
+  [[ "$str" = \\\~* ]] && str="$str[2,-1]"
 fi
 orig="${PREFIX}${SUFFIX}"
 

--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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