Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh function breaks after error
- X-seq: zsh-users 27502
- From: Thomas Lauer <thomas.lauer@xxxxxxxxxx>
- To: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- Cc: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: zsh function breaks after error
- Date: Thu, 10 Feb 2022 16:20:02 +0000
- Archived-at: <https://zsh.org/users/27502>
- In-reply-to: <CAN=4vMqx49BLiDJ13dqDgaHiSSvH96=mq2PUV3MgcAXt8c1Q_w@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- Organization: TL
- References: <l3850ht4v4mopd3asrkeuvpad65k2gi0j3@tlc.com> <CAH+w=7YwMwbo-HDOceDKX=oU4LQw9xg2Y_d9fWO9zk5hPummcA@mail.gmail.com> <e1u70ht8crjuu5l4f4saggu1rji626uns3@tlc.com> <CAH+w=7ZxtKCSCsmLqQovDGtPF-cbMi6um2JbVQhi7Zu8qOpZJQ@mail.gmail.com> <s16a0htkge5ug0f7aqqscfkq0d9couek3s@tlc.com> <CAN=4vMqx49BLiDJ13dqDgaHiSSvH96=mq2PUV3MgcAXt8c1Q_w@mail.gmail.com>
> From: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
>
> What happens if you add `emulate -L zsh` (without quotes) at the top of the
> function?
Something good happens... it now works as I'd expect! Thanks, will have
to read up about this!
Tom
Messages sorted by:
Reverse Date,
Date,
Thread,
Author