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.
| 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(" "), |
|
I hadn't forgotten about this but I was trying to get things working with the pill without compromising the colors off and on, and I think it's just too much of a headache. This is a best effort at working with all the configs, but I'm personally going to take my original one on my machine and just patch on top of wherever |

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