made #{loadavg} work under FreeBSD

This commit is contained in:
Joachim Werner
2020-09-13 14:15:58 +02:00
committed by Gregory Pakosz
parent 3522721c69
commit b4a5d06740
+1 -1
View File
@@ -656,7 +656,7 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim
# #
# _loadavg() { # _loadavg() {
# case "$_uname_s" in # case "$_uname_s" in
# *Darwin*) # *Darwin*|*FreeBSD*)
# tmux set -g @loadavg "$(sysctl -q -n vm.loadavg | cut -d' ' -f2)" # tmux set -g @loadavg "$(sysctl -q -n vm.loadavg | cut -d' ' -f2)"
# ;; # ;;
# *Linux*|*CYGWIN*) # *Linux*|*CYGWIN*)