Skip to content

Commit

Permalink
[#149] Rename duh to dut
Browse files Browse the repository at this point in the history
  • Loading branch information
sorin-ionescu committed Jun 11, 2012
1 parent 6740d88 commit 218081b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#
# Displays human readable disk usage.
# Displays the grand total disk usage using human readable units.
#
# Authors:
# Suraj N. Kurapati <[email protected]>
# Sorin Ionescu <[email protected]>
#

function duh {
function dut {
(( $# == 0 )) && set -- *

if grep -q -i 'GNU' < <(du --version 2>&1); then
Expand All @@ -23,7 +23,7 @@ function duh {
done < <(du -kcs "$@") | sort -n -r
fi
}
compdef _du duh
compdef _du dut

duh "$@"
dut "$@"

0 comments on commit 218081b

Please sign in to comment.