Fix disk usage
This commit is contained in:
parent
0a2a94c914
commit
c8694fa53a
1 changed files with 1 additions and 2 deletions
3
neofetch
3
neofetch
|
@ -1739,9 +1739,8 @@ getdisk () {
|
|||
"Linux" | "iPhone OS" | "Windows") df_flags="-h -l --total" ;;
|
||||
"Mac OS X" | "BSD")
|
||||
case "$distro" in
|
||||
"OpenBSD"* | "NetBSD"*) return ;;
|
||||
"FreeBSD"* | *"OS X"* ) df_flags="-H / -l" ;;
|
||||
*) df_flags="-h -c -l" ;;
|
||||
*) return ;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue