Merge branch 'loadavg-uptime-freebsd' into master, closes #293
This commit is contained in:
commit
0cdd643d6d
1 changed files with 2 additions and 2 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)
|
||||
# ;;
|
||||
|
@ -656,7 +656,7 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim
|
|||
#
|
||||
# _loadavg() {
|
||||
# case "$_uname_s" in
|
||||
# *Darwin*)
|
||||
# *Darwin*|*FreeBSD*)
|
||||
# tmux set -g @loadavg "$(sysctl -q -n vm.loadavg | cut -d' ' -f2)"
|
||||
# ;;
|
||||
# *Linux*|*CYGWIN*)
|
||||
|
|
Loading…
Reference in a new issue