From 90cdbbc32fb55017077d08f1f5e1597a0be70e73 Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Fri, 22 Oct 2021 15:32:19 +0200 Subject: [PATCH] check connectivity to github.com before installing and/or updating tpm and plugins (2) --- .tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index e098c81..3cda41b 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1342,7 +1342,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration' # tmux display 'Done uninstalling tpm and plugins...' # fi # 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 # install_tpm=true # tmux display 'Installing tpm and plugins...'