made #{uptime_xxx} work under FreeBSD
This commit is contained in:
committed by
Gregory Pakosz
parent
b4a5d06740
commit
39cc430268
+1
-1
@@ -622,7 +622,7 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim
|
|||||||
#
|
#
|
||||||
# _uptime() {
|
# _uptime() {
|
||||||
# case "$_uname_s" in
|
# case "$_uname_s" in
|
||||||
# *Darwin*)
|
# *Darwin*|*FreeBSD*)
|
||||||
# boot=$(sysctl -q -n kern.boottime | awk -F'[ ,:]+' '{ print $4 }')
|
# boot=$(sysctl -q -n kern.boottime | awk -F'[ ,:]+' '{ print $4 }')
|
||||||
# now=$(date +%s)
|
# now=$(date +%s)
|
||||||
# ;;
|
# ;;
|
||||||
|
|||||||
Reference in New Issue
Block a user