Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: PATCH: (was Re: _configure does not work)
- X-seq: zsh-workers 5712
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: RE: PATCH: (was Re: _configure does not work)
- Date: Tue, 9 Mar 1999 15:25:53 +0100 (MET)
- In-reply-to: "Andrej Borsenkow"'s message of Tue, 9 Mar 1999 17:04:23 +0300
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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