Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS module keeps showing profile when AWS_PROFILE env is unset on Nushell #4894

Closed
refl3ction opened this issue Feb 9, 2023 · 1 comment
Closed
Labels
🐛 bug Something isn't working as expected. duplicate This issue or pull request already exists.

Comments

@refl3ction
Copy link

Bug Report

Current Behavior

When I set the AWS_PROFILE env var, starship prompts the profile correctly, but when I unset it the prompt keeps showing the profile.

Expected Behavior

Clear the profile from the prompt if the env var is unset.

Additional context/Screenshots

Nushell
image

ZSH
image

asp is a plugin to set the AWS_PROFILE env variable

Possible Solution

Environment

  • Starship version: 1.12.0
  • Shell type: Nushell
  • Shell version: 0.75.0
  • Terminal emulator: iTerm
  • Operating system: macOS 13.2

Relevant Shell Configuration

# Your configuration here

Starship Configuration

[aws]
force_display = true
@refl3ction refl3ction added the 🐛 bug Something isn't working as expected. label Feb 9, 2023
@davidkna
Copy link
Member

davidkna commented Feb 9, 2023

I think this sounds like a duplicate of #4386. I'm closing this to keep discussion in one place. If you feel that this isn't a duplicate, I'll be happy to re-open this issue.

@davidkna davidkna closed this as not planned Won't fix, can't repro, duplicate, stale Feb 9, 2023
@davidkna davidkna added the duplicate This issue or pull request already exists. label Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working as expected. duplicate This issue or pull request already exists.
Projects
None yet
Development

No branches or pull requests

2 participants