skip to Main Content

Escape sequences 33[01;36m] vs. 33[1;36m] in PS1 in .bashrc: why the zero? – Debian

I've just compared the $PS1 prompts in .bashrc on two of my Debian machines: PS1='${debian_chroot:+($debian_chroot)}[33[01;36m]u[33[0;90m]@[33[0;32m]h[33[0;90m]:[33[01;34m]w[33[0;90m]$[33[0m] ' PS1='${debian_chroot:+($debian_chroot)}[33[1;36m]u[33[0;37m]@[33[0;32m]h[33[0;37m]:[33[01;34m]w[33[0;37m]$[33[0m] ' As you see, the first sequence says 33[01;, whereas the second has 33[1; on the same position. Do both mean the same…

VIEW QUESTION
Back To Top
Search