Fixing base theme

pull/1944/head
Konstantin Gredeskoul 2021-04-23 04:31:09 -07:00
parent 4e6a3c5794
commit 5dcb8243b7
No known key found for this signature in database
GPG Key ID: F64DECB748F527EB
1 changed files with 274 additions and 272 deletions

View File

@ -575,7 +575,8 @@ function __check_precmd_conflict() {
} }
function safe_append_prompt_command() { function safe_append_prompt_command() {
local prompt_reif [ "${__bp_imported}" == "defined" ]; then local prompt_re
if [ "${__bp_imported}" == "defined" ]; then
# We are using bash-preexec # We are using bash-preexec
if ! __check_precmd_conflict "${1}"; then if ! __check_precmd_conflict "${1}"; then
precmd_functions+=("${1}") precmd_functions+=("${1}")
@ -644,8 +645,9 @@ function prompt_colorscheme() {
"$BASH_IT/colorschemes/${BASH_IT_COLORSCHEME}.colorscheme.bash" "$BASH_IT/colorschemes/${BASH_IT_COLORSCHEME}.colorscheme.bash"
) )
for scheme_file in ${colorscheme_locations[@]}; do for scheme_file in "${colorscheme_locations[@]}"; do
if [[ -f ${scheme_file} ]]; then if [[ -f ${scheme_file} ]]; then
source "${scheme_file}" source "${scheme_file}"
fi fi
done done