I have modified the color of my shell thanks to this tutorial : https://medium.com/@jgarijogarde/make-bash-on-ubuntu-on-windows-10-look-like-the-ubuntu-terminal-f7566008c5c2
It is great, nevertheless, I can no anymore see my active branch on GIT.
In the properties, I don't understand how to choose the right slot to modify the color of the text.
Would someone have an idea ?
The easiest mode to have Ubuntu colors on the WSL Ubuntu bash is to use the new Windows Terminal app (you can find it on the Windows Store), add the color scheme inside the windows-terminal-color-scheme. json file to the custom colors of the Windows Terminal settings and set it as the default for the Ubuntu profile.
Git can be installed on Windows AND on WSL.
Overview. Windows Subsystem for Linux (WSL) allows you to install a complete Ubuntu terminal environment in minutes on your Windows machine, allowing you to develop cross-platform applications without leaving windows.
I long ago wrote this registry file that you can give a try. The colors are tweaked a bit if you don't mind. This worked for me with a beautiful look.
Windows Registry Editor Version 5.00
; Values stored as 00-BB-GG-RR
;[HKEY_CURRENT_USER\Console\%SystemRoot%_system32_bash.exe]
[HKEY_CURRENT_USER\Console\C:_Program Files_WindowsApps_CanonicalGroupLimited.UbuntuonWindows_1804.2018.817.0_x64__79rhkp1fndgsc_ubuntu.exe]
"CodePage"=dword:000001b5
; BLACK DGRAY
"ColorTable00"=dword:00240A30
"ColorTable08"=dword:00cfd7d3
; BLUE LBLUE
;"ColorTable01"=dword:00a46534
"ColorTable01"=dword:00cf9f72
"ColorTable09"=dword:00ffbf8e
; GREEN LGREEN
;"ColorTable02"=dword:00069a4e
"ColorTable02"=dword:0034e28a
"ColorTable10"=dword:0068ff9f
; CYAN LCYAN
;"ColorTable03"=dword:009a9806
"ColorTable03"=dword:00e2e234
"ColorTable11"=dword:00ffff68
; RED LRED
;"ColorTable04"=dword:000000cc
"ColorTable04"=dword:002929ef
"ColorTable12"=dword:005252ff
; MAGENTA LMAGENTA
;"ColorTable05"=dword:007b5075
"ColorTable05"=dword:00a87fad
"ColorTable13"=dword:00ff9aff
; YELLOW LYELLOW
;"ColorTable06"=dword:0000a0c4
"ColorTable06"=dword:004fe9fc
"ColorTable14"=dword:006fffff
; LGRAY WHITE
;"ColorTable07"=dword:00cfd7d3
"ColorTable07"=dword:00eceeee
"ColorTable15"=dword:00ffffff
Save the above content into a text file with the extension .reg
, and double click the file. Then you can see the effects.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With