Closed mattdkerr closed 1 year ago
That's by design. To override colors, refer to the usage instructions for each module in the flexprompt_modules.lua file.
For example:
-- CWD MODULE: {cwd:color=color_name,alt_color_name:rootcolor=rootcolor_name:type=type_name:shorten}
-- - color_name is a name like "green", or an sgr code like "38;5;60".
-- - alt_color_name is optional; it is the text color in rainbow style.
-- - rootcolor_name overrides the repo parent color when using "rootsmart".
-- - type_name is the format to use:
-- - "full" is the full path.
-- - "folder" is just the folder name.
-- - "smart" is the git repo\subdir, or the full path.
-- - "rootsmart" is the full path, with parent of git repo not colored.
You can specify options in the prompt string itself, e.g.
flexprompt.settings.left_prompt = "{cwd:color=blue:type=folder}{git}"
Or you can override defaults as described in the Miscellaneous section:
-- Provide default arguments for a module:
flexprompt.defaultargs["module_name"] = "color=magenta"
-- Provide default arguments for a module, for a specific style (lean, classic, or rainbow):
flexprompt.defaultargs["module_name|rainbow"] = "color=blue,brightcyan"
If I use Windows Terminal and set the theme to One Half Dark, the blue directory section doesn't colorize to match the theme as expected (it should be a lighter pastel color). I believe the time section has the same problem
p.s. love this, I had contributed a bit to the cmder-powerline-prompt but having a powerline10k type configurator is awesome