this is more a question about fashion than functionality. I really like the way the bash is colored by default in Raspbian, I find it very helpful and pleasant to the eyes. That being said, I also run a Debian machine and I would really like to have its bash to be colorized just like the Raspbian one. How can I do that? Thanks in advance.
Take a look at the lines starting with
Those lines set the (color)layout for the prompt, the line where you can type at.
for the colors in a filelisting by executing
ls the option
--color=auto is useful.
this may also be defined as an alias; try executing this:
alias ls='ls --color=auto' ls ~ ls -la ~
Do you like these colors to be permanent on your Debian (or any other color-enabled terminal, like shipped with Ubuntu, Suse, Arch, etc.) then copy the
PS1 lines and the
alias line to the
/etc/bash.bashrc at a linuxcomputer of your choice :)
BTW: googling for "PS1 bash" will show you even more ways to make a pretty prompt, like adding a timestamp