-
Notifications
You must be signed in to change notification settings - Fork 146
Add jj item #592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add jj item #592
Conversation
|
It would also be nice if this handled co-located jj repos better instead of having both the |
|
I haven't used pills so I haven't seen this, but will take a look at that and identifying colocation in ~1 week or so. The secondary ID (commit hash) would be sufficient for Git operations and colocation's an explicit-enough interaction I think it would make sense to exclude Git in that case 👍 |
|
from my debugging it has something to do with needing in fish_variables (to get any pills at all to work). But then the colors you get from |
|
What I ended up using is: |
| bookmarks.map(|x| if( | ||
| x.name().substr(0, 10).starts_with(x.name()), | ||
| x.name().substr(0, 10), | ||
| x.name().substr(0, 9) ++ "…") | ||
| ).join(" "), | ||
| tags.map(|x| if( | ||
| x.name().substr(0, 10).starts_with(x.name()), | ||
| x.name().substr(0, 10), | ||
| x.name().substr(0, 9) ++ "…") | ||
| ).join(" "), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| bookmarks.map(|x| if( | |
| x.name().substr(0, 10).starts_with(x.name()), | |
| x.name().substr(0, 10), | |
| x.name().substr(0, 9) ++ "…") | |
| ).join(" "), | |
| tags.map(|x| if( | |
| x.name().substr(0, 10).starts_with(x.name()), | |
| x.name().substr(0, 10), | |
| x.name().substr(0, 9) ++ "…") | |
| ).join(" "), | |
| bookmarks.map(|x| truncate_end(10, x.name(), "…")).join(" "), | |
| tags.map(|x| truncate_end(10, x.name(), "…")).join(" "), |

Description
Adds an item for jj based on their fish and Starship prompts.
Screenshots (if appropriate)
How Has This Been Tested
Checklist