Closed rroohhh closed 4 years ago
It doesn't like the 256 color escapes, so lets swap those out: /etc/motd: ^[[97m /etc/bash.bashrc:
/etc/motd
^[[97m
/etc/bash.bashrc
# colors if [ $(id -u) -eq 0 ]; then export PS1="[\[\033[0m\]\[\033[01;31m\]\u\[\033[0m\]@\[\033[01;31m\]\h\[\033[0m\]] \[\033[36m\]\w\[\033[0m\]\[\033[97m\] \\$ \[\033[0m\]" else export PS1="[\[\033[0m\]\[\033[33m\]\u\[\033[0m\]@\[\033[33m\]\h\[\033[0m\]] \[\033[36m\]\w\[\033[0m\]\[\033[97m\] \\$ \[\033[0m\]" fi
/root.profile: ^[[31m
/root.profile
^[[31m
It doesn't like the 256 color escapes, so lets swap those out:
/etc/motd
:^[[97m
/etc/bash.bashrc
:/root.profile
:^[[31m