⬅︎ Back to On the command line no one can hear you screen. Or can they?
Or you can have your prompt tell you: export PS1="\u@\h:\W #\! \A \`if [ \$? == 0 ]; then echo \:\); else echo \:\(; fi\` "
Comment
Or you can have your prompt tell you:
export PS1="\u@\h:\W #\! \A \`if [ \$? == 0 ]; then echo \:\); else echo \:\(; fi\` "