From 7a71a82b43cc9afe77850bf05f5e807880a37b68 Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Mon, 25 Jan 2021 17:38:46 +0100 Subject: [PATCH] fixed #{online} custom variable implementation as ping -t is not portable, fixes #451 --- .tmux.conf.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tmux.conf.local b/.tmux.conf.local index fc749dc..ffdf2eb 100644 --- a/.tmux.conf.local +++ b/.tmux.conf.local @@ -397,7 +397,7 @@ tmux_conf_update_plugins_on_reload=true # } # # online() { -# ping -t 1 -c 1 1.1.1.1 >/dev/null 2>&1 && printf '✔' || printf '✘' +# ping -c 1 1.1.1.1 >/dev/null 2>&1 && printf '✔' || printf '✘' # } # # "$@"