diff --git a/scripts/helpers.sh b/scripts/helpers.sh index d9028ae..94305ce 100644 --- a/scripts/helpers.sh +++ b/scripts/helpers.sh @@ -9,56 +9,3 @@ get_tmux_option() { fi } -is_osx() { - [ $(uname) == "Darwin" ] -} - -is_freebsd() { - [ $(uname) == "FreeBSD" ] -} - -is_openbsd() { - [ $(uname) == "OpenBSD" ] -} - -is_linux() { - [ $(uname) == "Linux" ] -} - -is_cygwin() { - command -v WMIC &> /dev/null -} - -is_linux_iostat() { - # Bug in early versions of linux iostat -V return error code - iostat -c &> /dev/null -} - -# is second float bigger? -fcomp() { - awk -v n1=$1 -v n2=$2 'BEGIN {if (n1 /dev/null -}