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

Re: triviality with prompts



On 12/02/2014 08:38 PM, Lawrence Velázquez wrote:

Peruse the "QUOTING" section in zshmisc(1). Surrounding a string with single quotes ('foo') is not the same as surrounding a string with single quotes preceded by a dollar sign ($'foo'). vq

Thanks, that's a nice summary. It's especially nice of it to mention the $'foo' gotcha, which is ignored in other docs. Just when I thought I knew what a single quote was :( But the zshbuiltins page, under 'print' doesn't go into any detail about this $'foo' form. Never mind, the prompt string is the only place I've seen it so far and I'm
forewarned now for the next time I see it.



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