X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=shell%2Faliases.in;h=c7e234e62dc44b56e680b4965cea484c82a2b79a;hb=3085f6d8af8bd80ae2a7bd8f1e03450855caa78a;hp=94b001dfa56ff99ecc6f5fa5de7ffd1d91f29d09;hpb=7c442e3d0aaa99822844838cd18a0a3b24892bbb;p=config%2Fdotfiles.git diff --git a/shell/aliases.in b/shell/aliases.in index 94b001d..c7e234e 100644 --- a/shell/aliases.in +++ b/shell/aliases.in @@ -73,11 +73,15 @@ alias :q='echo "This is not Vim!" >&2' # Automatically use unified diffs. alias diff='diff -u' -# Display all files and use human readable sizes. -alias du='du -sh' +# 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' +# Highlight matched strings. Doesn't work with a pager! +alias grep='grep --color=auto' + # Edit the mercurial patch queue series file for the current mercurial # repository in Vim. Also change Vim's pwd to the patches directory so other # patches can easily be opened.