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

check connectivity to github.com before installing and/or updating tpm and plugins (2)

This commit is contained in:
Gregory Pakosz 2021-10-22 15:32:19 +02:00
parent e8032e3ffb
commit 90cdbbc32f

View file

@ -1342,7 +1342,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
# tmux display 'Done uninstalling tpm and plugins...' # tmux display 'Done uninstalling tpm and plugins...'
# fi # fi
# else # else
# if curl -Ikfs -o /dev/null --connect-timeout 2 --max-time 2 https://github.com; then # if git ls-remote -hq https://github.com/gpakosz/.tmux.git master > /dev/null; then
# if [ ! -d "$TMUX_PLUGIN_MANAGER_PATH/tpm" ]; then # if [ ! -d "$TMUX_PLUGIN_MANAGER_PATH/tpm" ]; then
# install_tpm=true # install_tpm=true
# tmux display 'Installing tpm and plugins...' # tmux display 'Installing tpm and plugins...'