fixed #{online} custom variable implementation as ping -t is not portable, fixes #451

This commit is contained in:
Gregory Pakosz
2021-01-25 17:38:53 +01:00
parent 4bf9263fbd
commit 7a71a82b43
+1 -1
View File
@@ -397,7 +397,7 @@ tmux_conf_update_plugins_on_reload=true
# } # }
# #
# online() { # 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 '✘'
# } # }
# #
# "$@" # "$@"