__prompt_end_uid="$(id -u)"

__prompt_end()
{
  if [ "$__prompt_end_uid" -eq 0 ]
  then
    printf "$1" "$3"
  else
    printf "$1" "$2"
  fi
}