Two compatible issues
Closed this issue · 1 comments
- compatible with Zsh
$ zsh ./test.sh
sleeping for 2 secs... _spinner:29: unrecognized modifier i'
[DONE]
copying non-existen files... _spinner:29: unrecognized modifier i'
[FAIL]
- compatible with *BSD/Mac OS
14:03:13 ~/repo/bash-spinner master ✔
$ echo $SHELL
/bin/zsh
14:03:20 ~/repo/bash-spinner master ✔
$ ./test.sh
sleeping for 2 secs... [\e[1;32mDONE\e[0m]
copying non-existen files... [\e[1;31mFAIL\e[0m]
14:03:30 ~/repo/bash-spinner master ✔
$ zsh ./test.sh
sleeping for 2 secs... _spinner:29: unrecognized modifier i'
[DONE]
copying non-existen files... _spinner:29: unrecognized modifier i'
[FAIL]
14:03:39 ~/repo/bash-spinner master ✔
$ bash ./test.sh
sleeping for 2 secs... [DONE]
copying non-existen files... [FAIL]