X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FAnsible.git;a=blobdiff_plain;f=roles%2Fshell%2Fbash%2Ftemplates%2Fbash_profile.j2;fp=roles%2Fshell%2Fbash%2Ftemplates%2Fbash_profile.j2;h=5be21a9a2e3cebd458b50cbab5862f705fba85c1;hp=f622f67556e1e684cac7b5b17b0289de639ed5b6;hb=386f9271125f93651cb20420de696efab8798fa9;hpb=d512a906fcdbca34791beab9946f9f505fbe60a1 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 @@ # This file is loaded thanks to as line in /etc/profile # test "$BASH" && test -r "$XDG_CONFIG_HOME/bash/bash_profile" && . $XDG_CONFIG_HOME/bash/bash_profile -[[ -f $XDG_CONFIG_HOME/bash/bashrc ]] && . $XDG_CONFIG_HOME/bash/bashrc +# Loaded by /etc/profile already +# [[ -f $XDG_CONFIG_HOME/bash/bashrc ]] && . $XDG_CONFIG_HOME/bash/bashrc {% if "graphical_vt" in features.get(profile, []) %} if [[ ! $DISPLAY && $XDG_VTNR -eq {{ lookup('env', "XDG_VTNR") | default(1, true) }} ]]; then