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:
parent
26d9ace1b4
commit
59df215cdc
3 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ source "$HELPERS_DIR/tmux_echo_functions.sh"
|
||||||
source "$HELPERS_DIR/tmux_utils.sh"
|
source "$HELPERS_DIR/tmux_utils.sh"
|
||||||
|
|
||||||
main() {
|
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
|
"$SCRIPTS_DIR/clean_plugins.sh" --tmux-echo >/dev/null 2>&1
|
||||||
reload_tmux_environment
|
reload_tmux_environment
|
||||||
end_message
|
end_message
|
||||||
|
|
|
@ -11,7 +11,7 @@ source "$HELPERS_DIR/tmux_echo_functions.sh"
|
||||||
source "$HELPERS_DIR/tmux_utils.sh"
|
source "$HELPERS_DIR/tmux_utils.sh"
|
||||||
|
|
||||||
main() {
|
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
|
"$SCRIPTS_DIR/install_plugins.sh" --tmux-echo >/dev/null 2>&1
|
||||||
reload_tmux_environment
|
reload_tmux_environment
|
||||||
end_message
|
end_message
|
||||||
|
|
|
@ -42,7 +42,7 @@ update_plugin_prompt() {
|
||||||
}
|
}
|
||||||
|
|
||||||
main() {
|
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
|
display_plugin_update_list
|
||||||
update_plugin_prompt
|
update_plugin_prompt
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue