diff options
Diffstat (limited to 'roles/shell/bash/templates/bash_profile.j2')
-rw-r--r-- | roles/shell/bash/templates/bash_profile.j2 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/shell/bash/templates/bash_profile.j2 b/roles/shell/bash/templates/bash_profile.j2 index 8ffd818..4bcd09c 100644 --- a/roles/shell/bash/templates/bash_profile.j2 +++ b/roles/shell/bash/templates/bash_profile.j2 | |||
@@ -1,6 +1,8 @@ | |||
1 | # Some variables are loaded via pam (see .config/pam_environment) | 1 | # Some variables are loaded via pam (see .config/pam_environment) |
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 | ||
2 | 4 | ||
3 | [[ -f ~/.bashrc ]] && . ~/.bashrc | 5 | [[ -f $XDG_CONFIG_HOME/bash/bashrc ]] && . $XDG_CONFIG_HOME/bash/bashrc |
4 | {% if "graphical_vt" in features.get(profile, []) %} | 6 | {% if "graphical_vt" in features.get(profile, []) %} |
5 | 7 | ||
6 | if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then | 8 | if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then |