made #{loadavg} work under Cygwin
This commit is contained in:
parent
7a64679c2d
commit
cb2bd9f378
|
@ -665,7 +665,7 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim
|
|||
# *Darwin*)
|
||||
# tmux set -g @loadavg "$(sysctl -q -n vm.loadavg | cut -d' ' -f2)"
|
||||
# ;;
|
||||
# *Linux*)
|
||||
# *Linux*|*CYGWIN*)
|
||||
# tmux set -g @loadavg "$(cut -d' ' -f1 < /proc/loadavg)"
|
||||
# ;;
|
||||
# *OpenBSD*)
|
||||
|
|
Loading…
Reference in New Issue