Fix lint errors in multiple files (#2192)

* fix (plugins): enable interpretation of backslash escapes in colors
* fix (lint): disable SC2317 in install.sh
* fix (lint): SC2086 in agnoster theme
* fix (lint): remove exit from install.sh as it is already implemented in the calling function
This commit is contained in:
Gurkirat Singh
2023-02-22 21:49:12 +05:30
committed by GitHub
parent feb468b517
commit 78f88406cf
3 changed files with 3 additions and 4 deletions

View File

@@ -8,13 +8,13 @@ function __() {
function __make_ansi() {
next=$1
shift
echo "\[\e[$("__$next" "$@")m\]"
echo -e "\[\e[$("__$next" "$@")m\]"
}
function __make_echo() {
next=$1
shift
echo "\033[$("__$next" "$@")m"
echo -e "\033[$("__$next" "$@")m"
}
function __reset() {