Merge pull request #198 from ehandal/fix_env_reload

Fix hardcoded tmux.conf path in environment reload
This commit is contained in:
Bruno Sutic
2021-02-23 12:07:50 +01:00
committed by GitHub

View File

@@ -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
}