Skip to content

Commit dbfc236

Browse files
committed
Add Usage tips
1 parent a80a2fb commit dbfc236

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.rst

+10
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,15 @@ Demo
4848
|demo|
4949

5050

51+
Usage Tip
52+
=========
53+
54+
If you use `bash`, you can create colorized versions of commands, like::
55+
56+
function ctail() { tail $@ | colorize.py -t; }
57+
function cll() { ls -l $@ | colorize.py 8; }
58+
function cvmstat() { vmstat $@ | colorize.py -a red,green; }
59+
60+
5161
.. |demo| image:: https://asciinema.org/a/107799.png
5262
:target: https://asciinema.org/a/107799?speed=2

0 commit comments

Comments
 (0)