fixed #{online} custom variable implementation as ping -t is not portable, fixes #451
This commit is contained in:
parent
4bf9263fbd
commit
7a71a82b43
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue