Adding colour to pacman
Closed this issue · 2 comments
pickfire commented
Uncomment #Color in /etc/pacman.conf
pickfire commented
You can also try adding colour to bash by:
source ~/.bashrc
And append the following to ~/.bashrc by:
echo 'PS1="\[\033[01;37m\]\$? \$(if [[ \$? == 0 ]]; then echo \"\[\033[01;32m\];)\"; else echo \"\[\033[01;31m\];(\"; fi) $(if [[ ${EUID} == 0 ]]; then echo '\[\033[01;31m\]\h'; else echo '\[\033[01;32m\]\u@\h'; fi)\[\033[01;34m\] \W \$\[\033[00m\] "' >> ~/.bashrc
kingspp commented
Added colour to Pacman. There is an error in the bash statement