Changed my tty test in bashrc
This commit is contained in:
@@ -49,7 +49,8 @@ export HISTTIMEFORMAT="%F %T: "
|
||||
export HISTSIZE=1000
|
||||
export HISTFILESIZE=2000
|
||||
|
||||
if tty -s; then
|
||||
#if tty -s; then
|
||||
if [ -t 1 ]; then
|
||||
export PS1="\[$(tput bold)\]\[$(tput setaf 2)\][\u@\h \W]\\$ \[$(tput sgr0)\]"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user