diff options
Diffstat (limited to 'roles/shell/bash/templates/bashrc.j2')
-rw-r--r-- | roles/shell/bash/templates/bashrc.j2 | 9 |
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" |
55 | fi | 55 | fi |
56 | |||
57 | function 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 | ||