Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [Feature Request] Adding option to support triple quotes
- X-seq: zsh-workers 44674
- From: Aryn Starr <whereislelouch@xxxxxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Subject: Re: [Feature Request] Adding option to support triple quotes
- Date: Thu, 15 Aug 2019 20:53:47 +0430
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1565886232; bh=vFi0jxrJWLE68scfRmZeKNpYWhqxW6SFHf0cbdRBzrE=; h=Content-Type:Subject:From:Date:Message-Id:To; b=BIPubEtp047zlpMC7OdlRAdUPniftmWAlWO90TqOMP1BcTpwNr6JOpvvrx4PU7SZD F1KzsJlb+YR+PJcOEOMprg4b2XVe+JOo0ORMCwiE+1U2t8dlLRbJvxC12jQ2MaTvHP BIL7NZ/JqyAMKt8WlCutntHSh8K7rmD1K4QYCNJ8ZtxaCH2sj8nAjd5NMmSqVLS4c7 WQzmaOshayl55VpKSllewiLalIoNyhDcmtTJgo4DekXlPdAoEyA/tnWkyE8Sl8Gjql RfDeGr7eGmPsBp4oUww+kEGFHkuD4OZdpapQZ2iBC/+vOD0rEIxdqrmn8xD71tc15q 9z5YxYZahuPYw==
- In-reply-to: <f053e72e-e22e-4729-a2de-eaa712119728@www.fastmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <2c845fb0-d628-400f-a805-ad8356b6d87a@www.fastmail.com> <7EBD1ADA-7179-4EEF-97CA-DBE4371D80D6@icloud.com> <876f807b-dfdd-4246-8cfe-7cf6f373ac88@www.fastmail.com> <f053e72e-e22e-4729-a2de-eaa712119728@www.fastmail.com>
The only preventive measure I can think of is to tell users to check zsh’s version at the very start and exit noisily ...
> On Aug 15, 2019, at 8:42 PM, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
>
> Daniel Shahaf wrote on Thu, 15 Aug 2019 16:08 +00:00:
>> Aryn Starr wrote on Thu, 15 Aug 2019 16:05 +00:00:
>>> That cc function is a kind of calculator. Like
>>> https://github.com/arzzen/calc.plugin.zsh, but better.
>>> That example of yours is indeed worthy of attention ... Can you think
>>> of possible remedies? I’m thinking about preventing mistakes though,
>>> not malicious code.
>>
>> Let's discuss this on list.
>
> Here's a quick example, not very inspired but valid:
>
> echo '''The installation hasn't finished; rm -rf / must be run after the next reboot; should you forget that step, you'll have to restart the whole installation from square one.'''
Messages sorted by:
Reverse Date,
Date,
Thread,
Author