From f79c59314ce9baa70de736340060e4a135f8c5a8 Mon Sep 17 00:00:00 2001 From: Edgar Handal Date: Mon, 22 Feb 2021 19:59:32 -0600 Subject: [PATCH] Fix hardcoded tmux.conf path in environment reload --- scripts/helpers/tmux_utils.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/helpers/tmux_utils.sh b/scripts/helpers/tmux_utils.sh index e39946a..dc6df41 100644 --- a/scripts/helpers/tmux_utils.sh +++ b/scripts/helpers/tmux_utils.sh @@ -1,3 +1,6 @@ +CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +source "$CURRENT_DIR/plugin_functions.sh" + reload_tmux_environment() { - tmux source-file ~/.tmux.conf >/dev/null 2>&1 + tmux source-file $(_get_user_tmux_conf) >/dev/null 2>&1 }