made #{uptime_xxx} work under FreeBSD
This commit is contained in:
parent
b4a5d06740
commit
39cc430268
|
@ -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…
Reference in New Issue