summaryrefslogtreecommitdiff
path: root/roles/shell/bash
diff options
context:
space:
mode:
Diffstat (limited to 'roles/shell/bash')
-rw-r--r--roles/shell/bash/templates/bashrc.j29
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/shell/bash/templates/bashrc.j2 b/roles/shell/bash/templates/bashrc.j2
index 1357475..c7f8522 100644
--- a/roles/shell/bash/templates/bashrc.j2
+++ b/roles/shell/bash/templates/bashrc.j2
@@ -53,6 +53,15 @@ if [ -n "$TMUX" ]; then
53 TMUX_SESSION_NAME=$(tmux display-message -p "#S") 53 TMUX_SESSION_NAME=$(tmux display-message -p "#S")
54 export HISTFILE="$XDG_STATE_HOME/bash/tmux_${TMUX_SESSION_NAME}_history" 54 export HISTFILE="$XDG_STATE_HOME/bash/tmux_${TMUX_SESSION_NAME}_history"
55fi 55fi
56
57function load_dev_env() {
58 if [ -z "$1" ]; then
59 source ../environment
60 else
61 FL_ENV="$1" source ../environment
62 fi
63}
64
56##### /Fretlink 65##### /Fretlink
57{% endif %} 66{% endif %}
58 67