This commit is contained in:
aikidouke 2016-04-06 19:57:42 +00:00
parent b66cefe6ef
commit 34f85fd2a0

View file

@ -1,8 +1,8 @@
# Set PS1 based on env # Set PS1 based on env
# #
{% if {{ env }} in 'production' %} {% if {{ env }} == 'production' %}
PS1="\e[0;31m[PROD]\e[m[\u@\h \W]\$ " PS1="\e[0;31m[PROD]\e[m[\u@\h \W]\$ "
{% elif {{ env }} in 'staging' %} {% elif {{ env }} == 'staging' %}
PS1="[STG]\e[m[\u@\h \W]\$ " PS1="[STG]\e[m[\u@\h \W]\$ "
{% endif }% {% endif }%