X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=shell%2Faliases.in;h=27ce92c8b9b7252bd3b7cbeab310135d28bd790e;hb=41ea59fcb1a20d7ab6df9aad1552243dea7d52b0;hp=f86eba8a5c413f1218c7d1988b184a0d4120db30;hpb=45615a9566f0eb21ae0a7b1875cc6726fb749bb1;p=config%2Fdotfiles.git diff --git a/shell/aliases.in b/shell/aliases.in index f86eba8..27ce92c 100644 --- a/shell/aliases.in +++ b/shell/aliases.in @@ -68,11 +68,14 @@ alias :q='echo "This is not Vim!" >&2' # Automatically use unified diffs. alias diff='diff -u' +# COLUMN is set to `| column -t` if it's available, empty otherwise. + # Display all files (-s), use human readable sizes (-h) and display the # complete size (-c). alias du='du -shc' -# Use human readable sizes. -alias df='df -h' +# Use human readable sizes and format it nicely, thanks to climagic +# (http://twitter.com/climagic/status/49623386762129408). +alias df='df -hP COLUMN' # Highlight matched strings. Doesn't work with a pager! alias grep='grep --color=auto'