logoalt Hacker News

iareseeyesterday at 2:44 PM0 repliesview on HN

https://starship.rs/advanced-config/#transientprompt-in-powe...

Starship only supports this in PowerShell for whatever reason.

Edit: Doh. I see what you linked to now. Yea, maybe it does work in more than just PowerShell now?

Transient prompt basically removes your prompt decorations and replaces it with just `>` in your scroll back history in your shell sessions. In my case it's a slightly more complex transient prompt (datetime and exit code of the command), but still greatly simplified.

Makes cut-and-paste of history in to docs and stuff super nice.