Skip to content

Commit 1e4055f

Browse files
committed
fix: clean up portability concerns with \e
1 parent d8d33e4 commit 1e4055f

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ build/
2929
.env
3030
.env.*
3131
!.env.example
32+
33+
34+
change-summary.md

lib/gitcmds.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/usr/bin/env bash
22

3-
GREEN='\e[32m'
4-
GREY='\e[2m'
5-
RESET='\e[0m'
3+
GREEN='\033[32m'
4+
GREY='\033[2m'
5+
RESET='\033[0m'
66

77
gecho() { printf "${GREEN}%s${RESET}\n" "$*"; }
88

0 commit comments

Comments
 (0)