From 39cc430268b68899ababf0e0489bdff5a76a6864 Mon Sep 17 00:00:00 2001 From: Joachim Werner Date: Sun, 13 Sep 2020 14:17:09 +0200 Subject: [PATCH] made #{uptime_xxx} work under FreeBSD --- .tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index 4bf0f28..9c09cc3 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -622,7 +622,7 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim # # _uptime() { # case "$_uname_s" in -# *Darwin*) +# *Darwin*|*FreeBSD*) # boot=$(sysctl -q -n kern.boottime | awk -F'[ ,:]+' '{ print $4 }') # now=$(date +%s) # ;;