Permalink
Browse files

Adjusted ps1_titlebar

  • Loading branch information...
1 parent c076fab commit e7d11a8ee21bb6b0bf217f6439a2b3c0404d7b86 @wayneeseguin wayneeseguin committed Apr 12, 2011
Showing with 6 additions and 1 deletion.
  1. +6 −1 contrib/ps1_functions
@@ -24,8 +24,13 @@
#
ps1_titlebar()
{
- case $TERM in (xterm*|rxvt*) printf '\[\e]0;\u@\h: \W\007\]' ;; esac
+ case $TERM in
+ (xterm*|rxvt*)
+ printf "%s" "\[\033[0m\]\\u@\\h: \W\\007"
+ ;;
+ esac
}
+
ps1_identity()
{
if [[ $UID -eq 0 ]] ; then

0 comments on commit e7d11a8

Please sign in to comment.