Open AndydeCleyre opened 1 year ago
I would also like to use this to italicize the directory, with \e[3m
and \e[0m
. Though I tried adding those directly in the source and they always came out literally on the other side, so maybe italics would need their own handling, meaning I should open a separate issue?
Without needing to assemble a full custom prompt component array, it would be useful to specify some arbitrary content to precede and follow the current working directory component.
For example, one might prefix with a folder icon, and maybe some spaces:
or maybe put it in a "bubble":