Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Trying to learn ... RCS and GLOBAL_RCS
- X-seq: zsh-users 27622
- From: Perry Smith <pedz@xxxxxxxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Trying to learn ... RCS and GLOBAL_RCS
- Date: Sat, 26 Mar 2022 12:04:33 -0500
- Arc-authentication-results: i=1; rspamd-7b6f4d8d7c-sk8jf; auth=pass smtp.auth=a2hosting smtp.mailfrom=pedz@xxxxxxxxxxxxxxxx
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1648314275; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=ZjFjyTPMAEa53Ozj00i8xMyFjqS/TzG80Y+G0yrVipE=; b=C+Fdb10/PngFkaNPEktYtj12kNAjS/BmnsVvEPkyqNuCV/yh1A2L4DRvYkS1W9kRmT/boD VnsXqWYnji8hBy1V1rAzbd7AzboMljrUmD0z2tIwR9LwYyFIlviGL5L8KOC3R+40uFenQo kyLmQV+0N20P94gt5P95657iUO2dLPRHIioxjZYr4yuRxbMCCh6pWimArEMdHOZEh3C5uU TgesnBSC8+QCFEQZzgGJjiswNXYVBazHlEz/xMXFCw2FU5SJ9eFUmTXAQGfRHn3dXyzbfv 14/IF8sM5sbg2ZipYtSB+kYs46THBGc5arBUGJmAg9CeeYyvoHSshxZ6MFjuJw==
- Arc-seal: i=1; s=arc-2022; d=mailchannels.net; t=1648314275; a=rsa-sha256; cv=none; b=MklcxgqXTA/m7ORO/s7ECyVA9zlmYXQMr8OmbYV/66bl5mSu9dLW3GL9P47Gpqf4Df+PX3 HMBcT89ZhU8Yjk4DazJYDCOTcLDYiwTN2QKRhT6V3pCqVhr7vitEZZyQgH8xtfWubi8llN 5Yx08ePVrudDYQfeMuhWygjhzTm1ahDKx7ICXWR/5Na7Db701RlNY06kdU55E25noF+xIx 4PaiUzop+tgnCzSyUyZi/efDXNuHut+B5FGCXtzv0BHKVvmWAhpqIOz/AA/yBClJo7FuJ9 XUr8jt6TE+pWXir8O8e3XM5eD0gPdI5tiuljN0qdUroYFTie1iGu5vddJLS5IQ==
- Archived-at: <https://zsh.org/users/27622>
- In-reply-to: <CAH+w=7a50m9vSQPrQ5gLtM+SprZu9aAwfgHU=so7Ey++PNDb5A@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <19A56C62-2136-410B-BFD7-A5E8E4BFE7D6@easesoftware.com> <CAH+w=7Ywe7oDqFaG8m9iy9x6gj1Xnh2DXkhn5N2md0N0_rFrJQ@mail.gmail.com> <A9173145-A448-417F-BF49-F883EA030610@easesoftware.com> <CAH+w=7a50m9vSQPrQ5gLtM+SprZu9aAwfgHU=so7Ey++PNDb5A@mail.gmail.com>
> On Mar 26, 2022, at 11:48, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> On Sat, Mar 26, 2022 at 9:45 AM Perry Smith <pedz@xxxxxxxxxxxxxxxx> wrote:
>>
>> Can I get the current state of all options (regardless of matching the
>> default or not)?
>
> Your best choice is probably:
> set -o
Yea. That’s better. I was working on:
( setopt | sed -e 's/$/ on/' -e 's/^no\(.*\) on$/\1 off/' ; unsetopt | sed -e 's/$/ off/' -e 's/^no\(.*\) off$/\1 on/' ) | sort
Since each option is either set to default or not.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author