You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,16 @@
1
1
# 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/).
3
3
4
4
## Installation
5
5
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`
9
10
10
11
## Usage
11
12
12
-
* echo.`Style``Color`
13
+
* echo.`Style``Color` (if you are using `sh`, there is no `.` dot synbol)
0 commit comments