This commit is contained in:
Dylan Araps 2016-08-26 12:28:33 +10:00
parent 93715fb4a9
commit f5bd9a7841
1 changed files with 5 additions and 1 deletions

View File

@ -1491,7 +1491,6 @@ getdisk() {
# Get the disk info
disk="$(df $df_flags 2>/dev/null | awk -v dir="$df_dir" '$0 ~ dir {print $2 ":" $3 ":" $5}')"
# Format the output
disk_used="${disk#*:}"
disk_used="${disk_used%%:*}"
@ -2979,6 +2978,11 @@ main() {
getargs "$@"
getdistro
# Temp command to test travis
if [ "$os" == "Mac OS X" ]; then
df -H / -l
fi
# Get colors and bold
bold
colors