Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion in quotes - " vs ' - no suffix added
- X-seq: zsh-workers 17101
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Sven Wischnowsky <wischnow@xxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Subject: Re: completion in quotes - " vs ' - no suffix added
- Date: Wed, 8 May 2002 15:38:55 +0000
- In-reply-to: <15577.7296.682622.411849@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <15576.54689.459113.686818@xxxxxxxxxxxxxxxxxx> <6134254DE87BD411908B00A0C99B044F02E89A73@xxxxxxxxxxxxxxxxxxxxxxx> <15577.7296.682622.411849@xxxxxxxxxxxxxxxxxx>
On May 8, 2:39pm, Sven Wischnowsky wrote:
} Subject: RE: completion in quotes - " vs ' - no suffix added
}
}
} Borsenkow Andrej wrote:
}
} > ...
} >
} > It does not for me. It is the same ` vs " thing:
} >
} > bor@itsrm2% zsh -c "cd ./a\\ b
} > Completing directory
} > a\\ b c\\ d uudecode/
} So it does for you, too.
Sven, what you're missing is that although the result is correct after
you execute the command, the completion is not correct while the command
line is being built. That is, if the completion system is going to turn
the file name `a\ b' into the string `"a\\ b"' when it inserts it on the
line, then `compset -q' should also UNDO the backslash-doubling again
when the quote character is a double-quote, so that it's possible to
correctly complete the file path on the second and subsequent calls to
the completion system.
--
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