starship / starship

☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
https://starship.rs
ISC License
45.46k stars 1.97k forks source link

show ssh connection status #1430

Open kakulukia opened 4 years ago

kakulukia commented 4 years ago

Feature Request

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

Id like to explicitly sow the connection status and let the username have another color when connected via ssh.

Describe the solution you'd like

I guess starship can already handle this sine in the username module it says "The user is currently connected as an SSH session". So the basics are already present. Id like to switch to starship and also transfer my current ssh prompt feature shown here (https://kakulukia.github.io/dotfiles/) at 4:44 of the screencast.

Describe alternatives you've considered

none yet, but my current custom prompt is slow, hence the urge to switch to starship, but id like to keep my prompt in tact if possible.

kakulukia commented 4 years ago

i have build a workaround with this https://github.com/starship/starship/issues/1783, but still being able to combine $user $hostname and $ssh_connection_status, would be awesome instead of multiple custom sections.