We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed08367 commit 682843eCopy full SHA for 682843e
1 file changed
generator.sh
@@ -25,12 +25,12 @@ fi
25
26
echo.Green ColorEcho generator start!
27
28
-for shell in sh bash fish ksh
+for shell in sh bash fish ksh zsh
29
do
30
echo.BoldYellow Generating ColorEcho for $shell shell ...
31
#shell specify configs and tricks
32
case $shell in
33
- "bash")
+ "bash" | "zsh")
34
fn='function '
35
dot='.'
36
echo='echo'
@@ -131,8 +131,4 @@ LOLCAT
131
132
done
133
134
-#zsh can use bash's script
135
-echo.BoldYellow Generating ColorEcho for zsh shell ...
136
-cp $distFolder/$distPrefix.bash $distFolder/$distPrefix.zsh
137
-
138
echo.Green ColorEcho generator end!
0 commit comments