Fix annoying bash colors
Folders (di
) color ($LS_COLOR
) are dark blue by default which is hard to read on a default dark background (also default): edit ~/.bashrc
and add this to the last line to change folder colors to change it to bold (1) light blue (94
)
LS_COLORS=$LS_COLORS:'di=1;94:' ; export LS_COLORS
The default prompt ($PS1
) also contains the directory (\w
), which is also in dark blue (34) but bold (1) by default. Look for the line right below the $color_prompt
flag section and change the color ([\033[<STYLE>;<COLOR>m]
) modified before \w
from bold dark blue (01;34
) to bold light blue (01;94
)
if [ "$color_prompt" = yes ]; then PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;94m\]\w\[\033[00m\]\$ '