shellcheck: quote grep subshell
This commit is contained in:
parent
5d2c1f68eb
commit
841dedc94b
@ -34,7 +34,7 @@ if [ -n "${BASH_VERSION}" -a '(' "$PS1" = "[\u@\h \W]\\$ " -o "$PS1" = "\\s-\\v\
|
||||
}
|
||||
|
||||
prompt_default_os() {
|
||||
eval $(grep ANSI_COLOR /etc/os-release)
|
||||
eval "$(grep ANSI_COLOR /etc/os-release)"
|
||||
PROMPT_COLOR="$ANSI_COLOR"
|
||||
PROMPT_DIR_COLOR="$1"
|
||||
PROMPT_SEPARATOR=':'
|
||||
|
Loading…
Reference in New Issue
Block a user