Update dotfiles/.local/share/chezmoi/home/dot_local/bin/executable_logg
This commit is contained in:
parent
59d924dfe2
commit
796715a00b
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ logger() {
|
||||||
|
|
||||||
format() {
|
format() {
|
||||||
# shellcheck disable=SC2001,SC2016
|
# shellcheck disable=SC2001,SC2016
|
||||||
ANSI_STR="$(echo "$1" | sed 's/^\([^`]*\)`\([^`]*\)`/\1\\u001b[47;1;30m \2 \\e[0;39m/')"
|
ANSI_STR="$(echo "$1" | sed 's/^\([^`]*\)`\([^`]*\)`/\1\\u001b[47;30m \2 \\e[39m/')"
|
||||||
if [[ $ANSI_STR == *'`'*'`'* ]]; then
|
if [[ $ANSI_STR == *'`'*'`'* ]]; then
|
||||||
ANSI_STR="$(format "$ANSI_STR")"
|
ANSI_STR="$(format "$ANSI_STR")"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue