Skip to content

Commit 1e7598d

Browse files
committed
using colors without echo -e (for mac os bash compatibility)
1 parent 8b530b9 commit 1e7598d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/core.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
2323
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2424

25-
SODA_VERSION="1.2.1"
25+
SODA_VERSION="1.2.2"
2626

2727
# Stores the usage for exposed commands
2828
TASKS_USAGE=" TASKS:"

scripts/soda/colors.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2424

2525
_color_escape() {
26-
echo -e "\e[$1;3$2m$3\e[0;0m"
26+
echo "\033[$1;3$2m$3\033[0;0m"
2727
}
2828

2929
red() {

0 commit comments

Comments
 (0)