]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - shell/aliases.in
shell/aliases: Use grep --color=auto if available.
[config/dotfiles.git] / shell / aliases.in
index fa7616294b6da940007a2e5fca780825bf48a1d8..c7e234e62dc44b56e680b4965cea484c82a2b79a 100644 (file)
@@ -79,6 +79,9 @@ 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.