From c235f9bea368316f1c1a441ebf6877e05e7df21c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 4 Nov 2018 00:37:08 +0100 Subject: Add a temporary bashrc when updating pam_environment --- roles/shell/bash/templates/bashrc.j2 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'roles/shell/bash/templates/bashrc.j2') diff --git a/roles/shell/bash/templates/bashrc.j2 b/roles/shell/bash/templates/bashrc.j2 index 2285d2b..99ed55f 100644 --- a/roles/shell/bash/templates/bashrc.j2 +++ b/roles/shell/bash/templates/bashrc.j2 @@ -2,6 +2,8 @@ # ~/.bashrc # +[[ -f "$HOME/.bashrc_temp" ]] && . $HOME/.bashrc_temp + if [ -n "$HOME/.local/bin" ]; then PATH="$HOME/.local/bin:$PATH" fi -- cgit v1.2.3