1
0
Fork 0
mirror of synced 2024-12-22 06:41:07 -05:00

made #{loadavg} work under Cygwin

This commit is contained in:
Gregory Pakosz 2020-05-01 13:46:03 +02:00
parent 7a64679c2d
commit cb2bd9f378

View file

@ -665,7 +665,7 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim
# *Darwin*) # *Darwin*)
# 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*) # *Linux*|*CYGWIN*)
# tmux set -g @loadavg "$(cut -d' ' -f1 < /proc/loadavg)" # tmux set -g @loadavg "$(cut -d' ' -f1 < /proc/loadavg)"
# ;; # ;;
# *OpenBSD*) # *OpenBSD*)