X-Git-Url: http://git.refcnt.org/?p=colorize.git;a=blobdiff_plain;f=README;fp=README;h=afd40b9209282b0b3c96c0c6c52599f0799c8b32;hp=a25ddedcddc7bfb28743dc7f94b836925c3d0b6a;hb=02ff24b4d080945fa5b5eecd8b57780b0035ecea;hpb=189af18c6bd1f1f01d410fff4bc9d3996136b373 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.