warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
20.98k stars 359 forks source link

Add Option to Display SubShell Above/inline of Warp Prompt #4680

Open BatteryRage opened 5 months ago

BatteryRage commented 5 months ago

Discord username (optional)

No response

Describe the solution you'd like?

Warp Team,

I would love to have the option to display in my prompt that I am in a SubShell so that I can see what context I am currently using in the given SubShell. This would be especially helpful for those of us who are popping SubShells with specific commands, i.e. when creating a subshell through AWS-Vault to assume roles, or if someone is operating in a network namespace.

A few options I had for display could be:

(SubShell) $ username@warp ~
(SubShell: <command to get subshell>)
$ username@warp ~

This would be extremely helpful to me because I constantly am changing subshells throughout my workday to access various cloud resources, and it can be confusing without running additional command(s) to remember which context I would be in at that given time

Thanks Team!

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

No response

Additional context

No response

How important is this feature to you?

4

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

None

dannyneira commented 5 months ago

hey @BatteryRage Thanks for submitting this request. As a possible stopgap, when you are in a subshell, Warp shows this in the UI at all times on the top left corner of the session.

https://github.com/warpdotdev/Warp/assets/16809145/19c3cf24-d907-498a-bd16-18f996dadb51

dannyneira commented 5 months ago

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.