comment out the first "reload_tmux_environment" , because this will cause tmux source-file ~/.tmux.conf twice and almost the same time, and if I set status-left -ag will append contents twice

This commit is contained in:
Charlie Hsieh 2019-11-23 01:30:01 +08:00
parent 26d9ace1b4
commit 59df215cdc
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ source "$HELPERS_DIR/tmux_echo_functions.sh"
source "$HELPERS_DIR/tmux_utils.sh"
main() {
reload_tmux_environment
#reload_tmux_environment #This will cause tmux source-file ~/.tmux.conf twice and almost the same time
"$SCRIPTS_DIR/clean_plugins.sh" --tmux-echo >/dev/null 2>&1
reload_tmux_environment
end_message

View File

@ -11,7 +11,7 @@ source "$HELPERS_DIR/tmux_echo_functions.sh"
source "$HELPERS_DIR/tmux_utils.sh"
main() {
reload_tmux_environment
#reload_tmux_environment #This will cause tmux source-file ~/.tmux.conf twice and almost the same time
"$SCRIPTS_DIR/install_plugins.sh" --tmux-echo >/dev/null 2>&1
reload_tmux_environment
end_message

View File

@ -42,7 +42,7 @@ update_plugin_prompt() {
}
main() {
reload_tmux_environment
#reload_tmux_environment #This will cause tmux source-file ~/.tmux.conf twice and almost the same time
display_plugin_update_list
update_plugin_prompt
}