Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Not detecting maws_profile in $PS1 under zsh #206

Closed
april opened this issue Mar 26, 2020 · 0 comments · Fixed by #207
Closed

Not detecting maws_profile in $PS1 under zsh #206

april opened this issue Mar 26, 2020 · 0 comments · Fixed by #207

Comments

@april
Copy link
Contributor

april commented Mar 26, 2020

The code that tests for the existence of $(maws_profile) in your prompt doesn't work under zsh. That means you sometimes end up with prompts that look like:

Environment variables set for role arn:aws:iam::320464205386:role/MAWS-ViewOnly
 (mozilla-iam-MAWS-ViewOnly) (mozilla-iam-MAWS-ViewOnly) (mozilla-iam-MAWS-ViewOnly)$     
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 a pull request may close this issue.

1 participant