summaryrefslogtreecommitdiff
path: root/roles/shell/bash/templates/bash_profile.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/shell/bash/templates/bash_profile.j2')
-rw-r--r--roles/shell/bash/templates/bash_profile.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/shell/bash/templates/bash_profile.j2 b/roles/shell/bash/templates/bash_profile.j2
index 9b9e86c..8ffd818 100644
--- a/roles/shell/bash/templates/bash_profile.j2
+++ b/roles/shell/bash/templates/bash_profile.j2
@@ -4,7 +4,7 @@
4{% if "graphical_vt" in features.get(profile, []) %} 4{% if "graphical_vt" in features.get(profile, []) %}
5 5
6if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then 6if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
7 [[ -f "$HOME/.bashrc_temp" ]] && rm -f $HOME/.bashrc_temp 7 [[ -f "$XDG_STATE_HOME/bash/bashrc_temp" ]] && rm -f $XDG_STATE_HOME/bash/bashrc_temp
8 exec startx $XDG_CONFIG_HOME/xinitrc > $XDG_STATE_HOME/xsession_errors 2>&1 8 exec startx $XDG_CONFIG_HOME/xinitrc > $XDG_STATE_HOME/xsession_errors 2>&1
9fi 9fi
10{% endif %} 10{% endif %}