Skip to content

Commit af8ce57

Browse files
update readme and add sh shell info
1 parent 0a166f4 commit af8ce57

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# ColorEchoForShell
2-
Make echo colorful with easier method. In [bash](https://www.gnu.org/software/bash/) and [zsh](http://www.zsh.org/).
2+
Make echo colorful with easier method. In [bash](https://www.gnu.org/software/bash/), [sh](https://en.wikipedia.org/wiki/Bourne_shell) and [zsh](http://www.zsh.org/).
33

44
## Installation
55

6-
* Download the script [dist/ColorEcho.sh](https://cdn.rawgit.com/PeterDaveHello/ColorEchoForShell/master/dist/ColorEcho.sh)
7-
* Add this line to your shell rc or run it directly:
8-
`. ColorEcho.sh`
6+
* Download the script, choice the once for your shell by its extension in the filename.
7+
- For example [dist/ColorEcho.bash](https://cdn.rawgit.com/PeterDaveHello/ColorEchoForShell/master/dist/ColorEcho.bash) for bash.
8+
* Add a line to include the script in your shell rc or run it directly:
9+
`. ./ColorEcho.bash`
910

1011
## Usage
1112

12-
* echo.`Style``Color`
13+
* echo.`Style``Color` (if you are using `sh`, there is no `.` dot synbol)
1314

1415
### Examples
1516

0 commit comments

Comments
 (0)