Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
setopt temporarily?
- X-seq: zsh-workers 32420
- From: Dave Yost <Dave@xxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: setopt temporarily?
- Date: Thu, 20 Feb 2014 13:06:20 -0800
- 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==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Sender: Dave Yost <daveyostcom@xxxxxxxxx>
One can set an environment variable only for the command that follows:
foo=bar echo $foo
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author