Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: fixsuffix() again
- X-seq: zsh-workers 4579
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: fixsuffix() again
- Date: Fri, 06 Nov 1998 14:02:32 +0100
- In-reply-to: "Sven Wischnowsky"'s message of "Fri, 06 Nov 1998 10:11:57 NFT." <199811060911.KAA04730@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sven Wischnowsky wrote:
> > So you mean with that one call to fixsuffix() in docompletion() we can
> > get rid of all the other calls to fixsuffix() scattered about in other
> > places? If so, then by golly I vote for putting that one back and
> > nuking the others.
>
> The one in deletecharorlist() will still be need since it is in the
> branch where completion is noct called. So it would make two instead
> of three calls in zle_tricky.c. The patch below does this, but note
> that there is one ugliness:
I've found a more serious problem with this.
% export ZMLIB=$PWD # some people probably have this set anyway
% setopt noautomenu menucomplete noautolist
% echo $Z<TAB> -> $ZMLIST/
<TAB> -> $ZSH_NAME
<TAB> -> $ZSH_VERSION
<RET> -> $ZSH_VERSIO
It seems to lose memory of the fact that the slash has already gone.
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarotti 2, 56100 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author