summaryrefslogtreecommitdiff
path: root/roles/shell/bash/templates/bashrc.j2
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-04 00:37:08 +0100
committerIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-04 00:37:08 +0100
commitc235f9bea368316f1c1a441ebf6877e05e7df21c (patch)
tree61d93da1efd55132b186bb8ff7639b9a8e317131 /roles/shell/bash/templates/bashrc.j2
parent397c4fed757d201af627636822981e85e84ea572 (diff)
downloadAnsible-c235f9bea368316f1c1a441ebf6877e05e7df21c.tar.gz
Ansible-c235f9bea368316f1c1a441ebf6877e05e7df21c.tar.zst
Ansible-c235f9bea368316f1c1a441ebf6877e05e7df21c.zip
Add a temporary bashrc when updating pam_environment
Diffstat (limited to 'roles/shell/bash/templates/bashrc.j2')
-rw-r--r--roles/shell/bash/templates/bashrc.j22
1 files changed, 2 insertions, 0 deletions
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 @@
2# ~/.bashrc 2# ~/.bashrc
3# 3#
4 4
5[[ -f "$HOME/.bashrc_temp" ]] && . $HOME/.bashrc_temp
6
5if [ -n "$HOME/.local/bin" ]; then 7if [ -n "$HOME/.local/bin" ]; then
6 PATH="$HOME/.local/bin:$PATH" 8 PATH="$HOME/.local/bin:$PATH"
7fi 9fi