syntax
This commit is contained in:
parent
b66cefe6ef
commit
34f85fd2a0
1 changed files with 2 additions and 2 deletions
|
@ -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 }%
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue