Commit 274ae509 authored by Klaatu von Schlacker's avatar Klaatu von Schlacker
Browse files

added tail -n -1 so we get the sum of du -h rather than the entire list of files

parent a40febcc
......@@ -4,7 +4,7 @@
if [ "X$@" != "X" ]
then
mv "$@" ~/.trash/
echo "$@ moved to Trash. Your Trash is currently $(du -h ~/.trash | cut -f1) in size."
echo "$@ moved to Trash. Your Trash is currently $(du -h ~/.trash | cut -f1 | tail -n -1) in size."
else
echo "Your trash is currently $(du -h ~/.trash | cut -f1) in size."
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment