diff options
Diffstat (limited to 'roles/shell/bash')
-rw-r--r-- | roles/shell/bash/templates/bash_profile.j2 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/shell/bash/templates/bash_profile.j2 b/roles/shell/bash/templates/bash_profile.j2 index f622f67..5be21a9 100644 --- a/roles/shell/bash/templates/bash_profile.j2 +++ b/roles/shell/bash/templates/bash_profile.j2 | |||
@@ -2,7 +2,8 @@ | |||
2 | # This file is loaded thanks to as line in /etc/profile | 2 | # This file is loaded thanks to as line in /etc/profile |
3 | # test "$BASH" && test -r "$XDG_CONFIG_HOME/bash/bash_profile" && . $XDG_CONFIG_HOME/bash/bash_profile | 3 | # test "$BASH" && test -r "$XDG_CONFIG_HOME/bash/bash_profile" && . $XDG_CONFIG_HOME/bash/bash_profile |
4 | 4 | ||
5 | [[ -f $XDG_CONFIG_HOME/bash/bashrc ]] && . $XDG_CONFIG_HOME/bash/bashrc | 5 | # Loaded by /etc/profile already |
6 | # [[ -f $XDG_CONFIG_HOME/bash/bashrc ]] && . $XDG_CONFIG_HOME/bash/bashrc | ||
6 | {% if "graphical_vt" in features.get(profile, []) %} | 7 | {% if "graphical_vt" in features.get(profile, []) %} |
7 | 8 | ||
8 | if [[ ! $DISPLAY && $XDG_VTNR -eq {{ lookup('env', "XDG_VTNR") | default(1, true) }} ]]; then | 9 | if [[ ! $DISPLAY && $XDG_VTNR -eq {{ lookup('env', "XDG_VTNR") | default(1, true) }} ]]; then |