made #{uptime_xxx} work under FreeBSD
This commit is contained in:
parent
b4a5d06740
commit
39cc430268
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue