From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23922 invoked by alias); 3 Dec 2014 04:48:08 -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: 19482 Received: (qmail 29728 invoked from network); 3 Dec 2014 04:47:55 -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,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:content-type:mime-version :subject:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to; s=smtpout; bh=qn79FWaD9vs6Hnny+Fk0xRk zukU=; b=Dc7L/wc908TkDMnCsgQ2hGWawccUT3BLSCSVeYJCvhKlQKS3oPdH/m5 ZvQGpycAK39TCkR+1g/cYoBx65ihYXU2SjEf9hWQxj4tEm/BdX+SuxQXbpyJ1JIq yIgJCdWG0CCnp9wgpct0fnIxeBPaZn+uJ22NZlQBLC793aTCMfno= X-Sasl-enc: RogA+eFQrc2H5YvLz0w+URvWBfuIDrkBfLTYWOi3OjDn 1417581521 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Subject: Re: triviality with prompts From: =?windows-1252?Q?Lawrence_Vel=E1zquez?= In-Reply-To: <547E9158.6050103@eastlink.ca> Date: Tue, 2 Dec 2014 23:38:41 -0500 Cc: zsh-users@zsh.org Content-Transfer-Encoding: quoted-printable Message-Id: <9CD0DDE8-21AB-4EA3-A69F-9B338ECC83F1@macports.org> References: <547E568C.6070607@eastlink.ca> <141202190200.ZM31930@torch.brasslantern.com> <547E9158.6050103@eastlink.ca> To: Ray Andrews X-Mailer: Apple Mail (2.1993) On Dec 2, 2014, at 11:28 PM, Ray Andrews wrote: > On 12/02/2014 07:02 PM, Bart Schaefer wrote: >=20 >> Once again you're confused about how quoting works. The variable = isn't >> inside single quotes at the time the prompt is expanded. In fact, in = your >> example $'...' is NOT the same as single quotes. >=20 > God knows. If ' ... ' isn't single quotes then is sure has me fooled. = One day > it will all make sense. I know everything is different with prompt = strings tho, > it's a world unto itself where single quotes are not single quotes. 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=