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

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:46 +01:00
parent 4bf9263fbd
commit 7a71a82b43

View file

@ -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 '✘'
# }
#
# "$@"