Browse Source

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

my-config
Gregory Pakosz 4 years ago
parent
commit
7a71a82b43
  1. 2
      .tmux.conf.local

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

Loading…
Cancel
Save