mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-25 12:55:00 +00:00
Disk: Test df output on travis
This commit is contained in:
11
neofetch
11
neofetch
@@ -22,6 +22,11 @@ shopt -s nocasematch
|
||||
# Reset colors/bold
|
||||
reset="\033[0m"
|
||||
|
||||
echo; echo
|
||||
df -h
|
||||
echo; echo
|
||||
exit
|
||||
|
||||
# DETECT INFORMATION
|
||||
|
||||
get_os() {
|
||||
@@ -1545,11 +1550,7 @@ get_disk() {
|
||||
# Split the info
|
||||
case "$os" in
|
||||
"Haiku") return ;;
|
||||
"Mac OS X")
|
||||
disk_used="${disks[10]}"
|
||||
disk_total="${disks[9]}"
|
||||
disk_total_per="(${disks[12]})"
|
||||
;;
|
||||
"Mac OS X") ;;
|
||||
|
||||
*)
|
||||
disk_used="${disks[9]}"
|
||||
|
||||
Reference in New Issue
Block a user