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

Re: destructive list-expand



On May 15,  4:48am, Bart Schaefer wrote:
}
} : _expand:24:else; word=${(M)${(f)$(<listofthings)}:#*subthing*} 
} 
} and then a bit later
} 
} : _expand:60:then; exp=: _expand:60:then cmdsubst; print -l CVS ChangeLog

Oops, I cut bits from two different traces there.  The first bit should
have read:

: _expand:24:else; word=${(M)${(f)$(<=(print -l *))}:#*conf*}

} I don't quite see where the quotes are getting stripped off, unless it's
} actually get_comp_string() that's at fault.

Guess what ... around line 1376 of zle_tricky.c ... I'm at a loss for
what that code is meant to be doing or when it is ever the right thing.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



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