diff --git a/bash/.bashrc b/bash/.bashrc index aeaf121..9f8e60d 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -49,7 +49,7 @@ export HISTTIMEFORMAT="%F %T: " export HISTSIZE=1000 export HISTFILESIZE=2000 -if [ ! -z "$TERM" ]; then +if tty -s; then export PS1="\[$(tput bold)\]\[$(tput setaf 2)\][\u@\h \W]\\$ \[$(tput sgr0)\]" fi