{% comment %} The line below is ugly as hell but it makes the prompt look better to not have a space after it. {% endcomment %} {% if user.is_authenticated %}{{user.username}}@graphite>{% else %}graphite>{% endif %}