Browse Source

made #{uptime_xxx} work under FreeBSD

my-config
Joachim Werner 4 years ago
committed by Gregory Pakosz
parent
commit
39cc430268
  1. 2
      .tmux.conf

2
.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)
# ;;

Loading…
Cancel
Save