From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14106 invoked by alias); 20 Feb 2014 21:06:36 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32420 Received: (qmail 24717 invoked from network); 20 Feb 2014 21:06:30 -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-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:content-type:content-transfer-encoding:subject :message-id:date:to:mime-version; bh=s0Vb7ejZO33Wz78VkYEDUmCHL4SNWx/7gDnWz/6PNXw=; b=WipFHbG9p7N5qiLh3SAtReTRPlYml2L3oIj7NyE3STIdIwfwuLDGKMH5od2ZGItxVF csuLdgG7ho/x9wY+zwbHMGfwbOjz0h4d22MIZblQ9Ayz3hOyxNc0NU9r9+2RzrO+P9Mq 6TJ7FHtGOCCM4jjlpNp5J0/+0c8KEP6bicTLZeQyy417RYdPVFtVarH8H7h2aJeIT5Yh /zE3inTtkeXLGsxGfHJfQV1Tcp5FtOd0qShpgqj1HDkyxSmO1MXn9pBRlwUEIdX28i0u xy4D3+0KgZ2bviaQ9uWIFNg2QFSJtFOvfHFXq9zEsJSfYHJhSfhPwdMJx4cV93V8wgnw MrAw== X-Received: by 10.68.201.97 with SMTP id jz1mr4709575pbc.26.1392930384806; Thu, 20 Feb 2014 13:06:24 -0800 (PST) Sender: Dave Yost From: Dave Yost Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: setopt temporarily? Message-Id: <8458DC5E-E862-462A-BFCF-FFA2BDEB29C8@yost.com> Date: Thu, 20 Feb 2014 13:06:20 -0800 To: zsh-workers@zsh.org Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) X-Mailer: Apple Mail (2.1874) One can set an environment variable only for the command that follows: foo=3Dbar echo $foo=20 It would be nice to be able similarly to temporarily set an option. Perhaps setopt could terminate its arg parsing with a - or -- like this: setopt pushdSilent - pushd Desktop Or maybe there needs to be a more general syntax for changing anything = in zsh only for the following command.=