From cb2bd9f3787f17c335cacfc05ba8f2f6d8316d81 Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Fri, 1 May 2020 13:46:03 +0200 Subject: [PATCH] made #{loadavg} work under Cygwin --- .tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index c6b5283..2d860ee 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -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*)