1
0
Fork 0
mirror of synced 2024-12-21 22:31:06 -05:00

do not unset @tpm-install, @tpm-update, @tpm-clean and @plugin variables after tpm has launched, fixes #531

This commit is contained in:
Gregory Pakosz 2021-11-08 19:34:28 +01:00
parent ee1547cb6c
commit 2751c215a1

View file

@ -1374,11 +1374,13 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
# tmux display "GitHub doesn't seem to be reachable, skipping installing and/or updating tpm and plugins..." # tmux display "GitHub doesn't seem to be reachable, skipping installing and/or updating tpm and plugins..."
# fi # fi
# #
# [ -z "$(tmux show -gv '@tpm-install')" ] && tmux set -g '@tpm-install' 'I' # [ -z "$(tmux show -gqv '@tpm-install')" ] && tmux set -g '@tpm-install' 'I'
# [ -z "$(tmux show -gv '@tpm-update')" ] && tmux set -g '@tpm-update' 'u' # [ -z "$(tmux show -gqv '@tpm-update')" ] && tmux set -g '@tpm-update' 'u'
# [ -z "$(tmux show -gv '@tpm-clean')" ] && tmux set -g '@tpm-clean' 'M-u' # [ -z "$(tmux show -gqv '@tpm-clean')" ] && tmux set -g '@tpm-clean' 'M-u'
# [ -f "$TMUX_PLUGIN_MANAGER_PATH/tpm/tpm" ] && "$TMUX_PLUGIN_MANAGER_PATH/tpm/tpm" # [ -f "$TMUX_PLUGIN_MANAGER_PATH/tpm/tpm" ] && "$TMUX_PLUGIN_MANAGER_PATH/tpm/tpm"
# tmux set -gu '@tpm-install' \; set -gu '@tpm-update' \; set -gu '@tpm-clean' \; set -gu '@plugin' # if [ $_tmux_version -gt 260 ]; then
# tmux set -gu '@tpm-install' \; set -gu '@tpm-update' \; set -gu '@tpm-clean' \; set -gu '@plugin'
# fi
# fi # fi
# #
# if [ -z "$window_active" ] && [ $_tmux_version -lt 240 ]; then # if [ -z "$window_active" ] && [ $_tmux_version -lt 240 ]; then