aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README12
1 files changed, 12 insertions, 0 deletions
diff --git a/README b/README
index a25dded..afd40b9 100644
--- a/README
+++ b/README
@@ -43,6 +43,18 @@ Documentation
-------------
See man page source file: colorize.1.
+Usage example
+-------------
+In ~/.bashrc:
+
+| ls_color() {
+| ls "$@" | colorize green -
+| }
+| alias ls=ls_color
+
+This excerpt defines an alias which will set the color being
+printed for literal ls invocations to green.
+
Afterword
---------
Let me know, if you have ideas, bug reports, patches, etc.