made #{loadavg} work under FreeBSD
This commit is contained in:
parent
3522721c69
commit
b4a5d06740
1 changed files with 1 additions and 1 deletions
|
@ -656,7 +656,7 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim
|
||||||
#
|
#
|
||||||
# _loadavg() {
|
# _loadavg() {
|
||||||
# case "$_uname_s" in
|
# case "$_uname_s" in
|
||||||
# *Darwin*)
|
# *Darwin*|*FreeBSD*)
|
||||||
# tmux set -g @loadavg "$(sysctl -q -n vm.loadavg | cut -d' ' -f2)"
|
# tmux set -g @loadavg "$(sysctl -q -n vm.loadavg | cut -d' ' -f2)"
|
||||||
# ;;
|
# ;;
|
||||||
# *Linux*|*CYGWIN*)
|
# *Linux*|*CYGWIN*)
|
||||||
|
|
Loading…
Reference in a new issue