I'm running ubuntu through the Windows PowerShell. The path is in a blue color which is very difficult to read. How can the colors of the fonts, backgrounds, foregrounds be changed?
Asked
Active
Viewed 2,561 times
1
-
1Duplicate - https://askubuntu.com/questions/922425/purple-theme-for-bash-on-ubuntu-on-windows-for-windows-10/922432 – Panther Aug 25 '17 at 17:20
-
That links needs an upvote if it is used to mark as duplicate. – Panther Aug 25 '17 at 17:21
-
You are using WSL, right? – wjandrea Aug 25 '17 at 17:21
-
@Terrance - That does not work for Bash on Windows https://msdn.microsoft.com/en-us/commandline/wsl/about – Panther Aug 25 '17 at 17:21
-
@bodhi.zazen comment removed. – Terrance Aug 25 '17 at 17:23
-
@Terrance - Too bad, sort of a good reference for others. – Panther Aug 25 '17 at 17:24
-
This might help: https://askubuntu.com/a/466203/231142 – Terrance Aug 25 '17 at 20:26
1 Answers
1
Your problem is that you started bash from a consolehost running powershell with it's own colorscheme.
If you'd used start bash
or Start-Process bash.exe
you'd got the colors set in the properties for bash
Microsoft just prereleased a Windows Console Colortool (coming with fall update) which helps with colorpalettes and IIUR you'll be able to import palettes from other sources.

LotPings
- 111
- 4
-
1I don't think it is off topic at all as this is Canonical completely supports this venture http://blog.dustinkirkland.com/2016/03/ubuntu-on-windows.html – Panther Aug 25 '17 at 18:57
-
The issue is Windows uses a different mechanism to provide colors, bash on windows is new and in development. See also https://askubuntu.com/questions/922425/purple-theme-for-bash-on-ubuntu-on-windows-for-windows-10/922432 – Panther Aug 28 '17 at 15:48