Using the starship prompt, how would I conditionally set the [directory] color based on path prefix?
I was able to achieve it in classic bash prompt, and would like to replicate it with starship.
It would work a bit like the read_only option of [directory] works (adding a lock symbol next to the [directory]).
I managed to do this with custom commands. It is not an ideal solution, but it works.