help / Atom feed
From: Sebastian Gniazdowski <sgniazdowski@gmail.com>
To: Zsh Users <zsh-users@zsh.org>
Subject: Which options besides SH_GLOB better to disable when emulating Bash?
Date: Thu, 12 Sep 2019 02:41:52 +0200
Message-ID: <CAKc7PVDQvL3wSJ4ZgQA0JingDmtRDSLaURUPEC4s7+g5utVO8w@mail.gmail.com> (raw)

I've noticed that Bash regular expressions don't work in emulate sh
(and bash) because of the SH_GLOB option disabling ( etc. in patterns.
So when emulating Bash (side note – in a new Zplugin feature: loading
plugins with a selected emulation _sticky_), I'm disabling it.

I wonder if there are other options that are better to be changed in
the sh emulation for a better Bash compatibility?

Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org

                 reply index

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKc7PVDQvL3wSJ4ZgQA0JingDmtRDSLaURUPEC4s7+g5utVO8w@mail.gmail.com \
    --to=sgniazdowski@gmail.com \
    --cc=zsh-users@zsh.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link


Archives are clonable: git clone --mirror http://inbox.vuxu.org/zsh-users

Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/ public-inbox