From 02ff24b4d080945fa5b5eecd8b57780b0035ecea Mon Sep 17 00:00:00 2001 From: Steven Schubiger Date: Wed, 9 Mar 2016 17:11:26 +0100 Subject: Add Usage example --- README | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'README') 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. -- cgit v1.2.3