diff --git a/neofetch b/neofetch index c2c41f52..bd47d4d2 100755 --- a/neofetch +++ b/neofetch @@ -1482,7 +1482,11 @@ getdisk() { "Mac OS X" | "BSD") case "$distro" in - "FreeBSD"* | *"OS X"* ) df_flags="-H / -l" ;; + "FreeBSD"* | *"OS X"* ) + df_flags="-l -H /" + df_dir="/" + ;; + *) return ;; esac ;; @@ -2978,11 +2982,6 @@ main() { getargs "$@" getdistro - # Temp command to test travis - if [ "$os" == "Mac OS X" ]; then - df -H / -l - fi - # Get colors and bold bold colors