You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, as said in your TODO file, you have yet another implementation of ansi-color sequences in prompt_wunjo_setup. Using tput would indeed be nice, but I think it should be the responsability of someone refactoring the colors module.
For your prompt, using zstyle and zformat seems more to the poinf, as it would allow users to organize the whole messages (and display colors as they like). For instance, I like minimal prompts, so I'd prefer limit git information to short symbols about the branch and dirty status.
I took the liberty of adapting your prompt_wunjo_scm_branch function for my own use, and here's what it looks like:
Hi, as said in your TODO file, you have yet another implementation of ansi-color sequences in
prompt_wunjo_setup
. Usingtput
would indeed be nice, but I think it should be the responsability of someone refactoring thecolors
module.For your prompt, using
zstyle
andzformat
seems more to the poinf, as it would allow users to organize the whole messages (and display colors as they like). For instance, I like minimal prompts, so I'd prefer limit git information to short symbols about the branch and dirty status.I took the liberty of adapting your
prompt_wunjo_scm_branch
function for my own use, and here's what it looks like:The text was updated successfully, but these errors were encountered: