Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

workaround for ZSH status behavior #789

Merged
merged 1 commit into from
Apr 14, 2018
Merged

workaround for ZSH status behavior #789

merged 1 commit into from
Apr 14, 2018

Conversation

docwhat
Copy link
Contributor

@docwhat docwhat commented Mar 26, 2018

$pipestatus is returning all zeros when using [[ ]] expressions
that are false.

This works around it by using $status (A.K.A. $?) when $pipestatus
has only 1 items.

Fixes #749

`$pipestatus` is returning all zeros when using `[[  ]]` expressions
that are false.

This works around it by using `$status` (A.K.A. `$?`) when `$pipestatus`
has only 1 items.

Fixes #749
@bhilburn bhilburn changed the base branch from next to master April 14, 2018 01:48
@bhilburn
Copy link
Member

Thank you very much, @docwhat! I really appreciate the discussion and testing on this one in #749, and you taking the time to submit the fix. Another superb PR =)

@bhilburn bhilburn merged commit 83e3267 into Powerlevel9k:master Apr 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants