]> git.alrj.org Git - zsh.d.git/commitdiff
Add 'hl' function
authorAmand Tihon <amand.tihon@iba-group.com>
Tue, 11 Sep 2012 08:27:10 +0000 (10:27 +0200)
committerAmand Tihon <amand.tihon@iba-group.com>
Tue, 11 Sep 2012 08:27:10 +0000 (10:27 +0200)
S51_functions

index 3452fdcc1033d94d99bd35d06dac9f3aa2fc1c9e..8f3b209f68e2bcccb9ef6ef3b3ced37206ac8f23 100644 (file)
@@ -4,3 +4,6 @@ du_by() {
   find . -iname $1 -print0 | du --files0-from=- -hc | tail -n 1
 }
 
+hl() {
+  egrep --color=always "|$*"
+}