Skip to content

Commit 29c871e

Browse files
authored
Merge pull request tmux-plugins#198 from ehandal/fix_env_reload
Fix hardcoded tmux.conf path in environment reload
2 parents 38576cf + f79c593 commit 29c871e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/helpers/tmux_utils.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2+
source "$CURRENT_DIR/plugin_functions.sh"
3+
14
reload_tmux_environment() {
2-
tmux source-file ~/.tmux.conf >/dev/null 2>&1
5+
tmux source-file $(_get_user_tmux_conf) >/dev/null 2>&1
36
}

0 commit comments

Comments
 (0)