1
0
mirror of https://github.com/akelge/vim synced 2025-08-16 15:48:40 +00:00

minor adjustment (syncronization between Library and SVN)

This commit is contained in:
simonec
2011-05-30 10:59:02 +00:00
parent 1d5b73d438
commit 4fdce6be97
4 changed files with 8 additions and 4 deletions

View File

@ -10,7 +10,7 @@ function hist { grep -i $* $HISTFILE }
# hdu - Human readable report of files and directories sizes
# *Same behaviour as du*
function hdu () {
du -k $* | sort -nr | awk '{
du -kc $* | sort -nr | awk '{
# Prepare human readable
if($1>=1024*1024) { size=$1/1024/1024; unit="G" }
else if($1>=1024) { size=$1/1024; unit="M" }