Recently Stew accidentally left an env var linking his UCM to staging, then did a bunch of work against an old HEAD from staging rather than prod, and since we don't have rebase-ing it was a lot of wasted work :'(
This just adds an indicator to the prompt when you're on a non-standard remote.
Everything stays exactly the same unless you have a custom UNISON_SHARE_HOST
Implementation notes
Check if we're on a non-standard share and show the additional prompt.
Overview
Recently Stew accidentally left an env var linking his UCM to staging, then did a bunch of work against an old HEAD from staging rather than prod, and since we don't have rebase-ing it was a lot of wasted work :'(
This just adds an indicator to the prompt when you're on a non-standard remote.
Everything stays exactly the same unless you have a custom
UNISON_SHARE_HOST
Implementation notes
Check if we're on a non-standard share and show the additional prompt.