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

Re: PATCH: completion with redirections



Sven Wischnowsky wrote:
> There is a problem: this array contains ")" instead of '>',
> so one will currently get a wrong string for such redirections. Is
> this a typo or is there some hidden reason for it (i.e. can I change
> the table or do I have to build a different table in zle_tricky.c)?

I can't see how it can possibly be right as it stands, looking at
what's around it.

*** Src/lex.c.outang	Mon Jan 25 14:30:37 1999
--- Src/lex.c	Mon Jan 25 14:59:49 1999
***************
*** 121,127 ****
      ")",	/* OUTPAR	     */
      "||",	/* DBAR		     */
      "&&",	/* DAMPER	     */
!     ")",	/* OUTANG	  10 */
      ">|",	/* OUTANGBANG	     */
      ">>",	/* DOUTANG	     */
      ">>|",	/* DOUTANGBANG	     */
--- 121,127 ----
      ")",	/* OUTPAR	     */
      "||",	/* DBAR		     */
      "&&",	/* DAMPER	     */
!     ">",	/* OUTANG	  10 */
      ">|",	/* OUTANGBANG	     */
      ">>",	/* DOUTANG	     */
      ">>|",	/* DOUTANGBANG	     */

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy



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