Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Silent setopt
- X-seq: zsh-users 17605
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Silent setopt
- Date: Wed, 23 Jan 2013 11:32:54 +0000
- In-reply-to: <CAJ1KOAg7RgvNpTkj3x+O61o0ryA2zHqukZi_=+oZXPuf5Ywa9w@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Organization: Samsung Cambridge Solution Centre
- References: <CAJ1KOAg7RgvNpTkj3x+O61o0ryA2zHqukZi_=+oZXPuf5Ywa9w@mail.gmail.com>
On Wed, 23 Jan 2013 11:21:38 +0100
İsmail Dönmez <ismail@xxxxxxxxx> wrote:
> I am using the same zsh config across a lot of machine which have all kinds
> of versions of zsh and when I ssh into an old zsh machine I get
>
> setopt:47: no such option: COMBININGCHARS
> setopt:48: no such option: HASH_EXECUTABLESONLY
>
> Which is expected but gets boring after some time. So I wonder if there is
> a way to silence setopt for unsupported options?
It should be as simple as
setopt COMBININGCHARS HASHEXECUTABLESONLY 2>/dev/null
I wonder why setopt always returns status 0, no matter what happens?
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author