From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 555 invoked by alias); 3 Dec 2014 16:20:51 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19483 Received: (qmail 21976 invoked from network); 3 Dec 2014 16:20:47 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=windows-1252; format=flowed X-Authority-Analysis: v=2.1 cv=AduIQRnG c=1 sm=1 tr=0 a=tDZUtGgdvB6RbretPev/jw==:117 a=tDZUtGgdvB6RbretPev/jw==:17 a=G8GL833Es-AA:10 a=N659UExz7-8A:10 a=deA2DgnWk3yrgDNpvY8A:9 a=pILNOxqGKmIA:10 Message-id: <547F385B.3070405@eastlink.ca> Date: Wed, 03 Dec 2014 08:20:43 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.2.0 To: =?windows-1252?Q?Lawrence_Vel=E1zquez?= Cc: zsh-users@zsh.org Subject: Re: triviality with prompts References: <547E568C.6070607@eastlink.ca> <141202190200.ZM31930@torch.brasslantern.com> <547E9158.6050103@eastlink.ca> <9CD0DDE8-21AB-4EA3-A69F-9B338ECC83F1@macports.org> In-reply-to: <9CD0DDE8-21AB-4EA3-A69F-9B338ECC83F1@macports.org> 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.