Skip to content

Commit

Permalink
Bugfix: adjusted printf.
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneeseguin committed Apr 6, 2011
1 parent 724fcfd commit 89e301c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/ps1_functions
Expand Up @@ -26,9 +26,9 @@
ps1_identity()
{
if [[ $UID -eq 0 ]] ; then
printf "\[\033[31m\]\\u\[\033[0m\]@\[\033[36m\]\\h\[\033[35m\]:\w\[\033[0m\] "
printf "%s" "\[\033[31m\]\\u\[\033[0m\]@\[\033[36m\]\\h\[\033[35m\]:\w\[\033[0m\] "
else
printf "\[\033[32m\]\\u\[\033[0m\]@\[\033[36m\]\\h\[\033[35m\]:\w\[\033[0m\] "
printf "%s" "\[\033[32m\]\\u\[\033[0m\]@\[\033[36m\]\\h\[\033[35m\]:\w\[\033[0m\] "
fi
}

Expand Down

0 comments on commit 89e301c

Please sign in to comment.