]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - shell/aliases.in
shell/env: Use test instead of [ and $HOME instead of ~.
[config/dotfiles.git] / shell / aliases.in
index 94b001dfa56ff99ecc6f5fa5de7ffd1d91f29d09..c7e234e62dc44b56e680b4965cea484c82a2b79a 100644 (file)
@@ -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.