]> git.alrj.org Git - zsh.d.git/blobdiff - S51_functions
Add 'hl' function
[zsh.d.git] / 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 "|$*"
+}