Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
status and pipestatus
- X-seq: zsh-users 24097
- From: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: status and pipestatus
- Date: Sat, 27 Jul 2019 08:43:09 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=7ZH2zYF8v3Qt0joI/u/nsZWEfmWfutUJZ0GBXF9NzE4=; b=uVWYRAwPd5OqGa7mvHz0cvjAeGmo+mDyF5MzRdTWfGDjjxlkKJlddi6BLtoycX37Ru 1DeLx9wHE5hTfZdqDwN+XhT3Yw84zEtuym3u8lMgI1rdONU1FzQhJOU7/h3OhReR0Flz HFwrSlAT7+Toz7kmzCchRBu6fRDJHlN7Bcp/NgE7/yMPRvDM9ngsYZ4ZGKjENgMxvBrv TsAAj/Lrcej0Oku3QUok/vY8LHd+FQEyU4rws0BQVgdcHfLdqjJ1Cd947Hgcj3nadsZd rmTI8e+9sjm3emx1gtuUCHNgXemxmnuhUmY5jh82FzXLgOK8IBzG8YtvLFM+C1vvdHtM k8Wg==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
I'd like to use status and pipestatus special parameters in a precmd
hook. There are cases where status gets updated between two precmd
invocations but pipestatus doesn't. In such cases I don't want to use
pipestatus. In other words, I want to use pipestatus if and only if it
corresponds to the same command from which status was derived. Is this
possible?
Roman.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author