Replies: 2 comments
-
|
Maybe you can adapt the starship.rs template into one for bash-it? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ended up writing a small bash-it plugin for this. Turned out much easier than expected. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Hiya, I use bash-it, and it's nice in a git repo to see some git information like the branch name here:
Besides telling me I'm in the
mainbranch, it's also telling me I have no uncommitted changes (lack of an asterisk likemain*), and mostly importantly that I'm in a git repo at all.I'd love something like that for jj. Right now it looks like:
foois a git repo that I cloned withjj. Has anyone got anything that I could use to get somejjinfo into my prompt?Brainstorming how that might look... My
jj loglooks like this:Maybe the short-rev?
Or maybe the short-rev chain to HEAD?
Maybe subbing short-rev for branch name if one exists instead?
Beta Was this translation helpful? Give feedback.
All reactions