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
commit 29c871e810
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

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
}