Warp icon indicating copy to clipboard operation
Warp copied to clipboard

Add current aws-cli profile to warp prompt

Open Jared0430 opened this issue 1 year ago • 3 comments

Discord username (optional)

No response

Describe the solution you'd like?

We currently have a kube-context chip in the warp prompt that appears when typing a kubectl command, I'd love to see the same thing for aws-cli as I switch between several throughout the day, it can get confusing to track which one I'm using.

Is your feature request related to a problem? Please describe.

No response

Additional context

No response

How important is this feature to you?

3

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

None

Jared0430 avatar Mar 04 '24 16:03 Jared0430

Thanks for this feature request @Jared0430! As a potential stopgap, we support shell prompts like starship.rs which has aws module. https://docs.warp.dev/appearance/prompt

To anyone else interested in this feature, please add a 👍 to the original post at the top to signal that you want this feature, and subscribe if you'd like to be notified.

dannyneira avatar Mar 04 '24 22:03 dannyneira

Thanks for the stopgap suggestions @dannyneira. I have something similar set up with powerlevel10k already however it doesn't seem to work correctly. If I put it in lprompt it doesn't seem to come up in warp as I type, and currently rprompt isn't supported #4001

Jared0430 avatar Mar 08 '24 16:03 Jared0430

As I type anything that starts with AWS powerlevel10k display region and profile in the right, same applies for gcloud and kubectl CLI.

All of them work in terminals like iTerm but only kubectl one works in Warp, and also not 100%: image image image

IgorEulalio avatar Aug 16 '24 14:08 IgorEulalio