Customizing colors in Windows #958
-
Hello! I have already seen this discussion, and wish to follow up on it. I am currently running lsd on Windows, and I saw that colors.yaml is not implemented yet. Until that feature is implemented, what method are Windows users supposed to use to customize the directory colors? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Full disclosure, I've been trying to look through the code and the documentation to find an answer, and could not find it haha! I don't believe |
Beta Was this translation helpful? Give feedback.
-
A temporary solution is as follows (thank you @zwpaper for your help!)
To find what values can be put into LS_COLORS, refer to this website. NOTE: RefreshEnv is a command that comes in with Chocolatey. The reason the changes do not take effect immediately is because apparently Windows loads a temp copy of the system variables and uses that. The script that chocolatey uses (found here) only takes effect for the command line session ONLY. To make the changes permanent, restart your machine after you have made all the necessary changes. The above commands are only to facilitate making sure that you like your configuration before restarting. |
Beta Was this translation helpful? Give feedback.
A temporary solution is as follows (thank you @zwpaper for your help!)
setx LS_COLORS "[value]"
(examplesetx LS_COLORS "di=35"
)RefreshEnv
To find what values can be put into LS_COLORS, refer to this website.
NOTE: RefreshEnv is a command that comes in with Chocolatey. The reason the changes do not take effect immediately is because apparently Windows loads a temp copy of the system variables and uses that. The script that chocolatey uses (found here) only takes effect for the command line session ONLY.
To make the changes permanent, restart your machine after you have made all the necessary changes. The above commands are only to facilitate making sure that you like your configu…