Fixing base theme
parent
4e6a3c5794
commit
5dcb8243b7
|
|
@ -575,7 +575,8 @@ function __check_precmd_conflict() {
|
|||
}
|
||||
|
||||
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
|
||||
if ! __check_precmd_conflict "${1}"; then
|
||||
precmd_functions+=("${1}")
|
||||
|
|
@ -644,8 +645,9 @@ function prompt_colorscheme() {
|
|||
"$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
|
||||
|
||||
source "${scheme_file}"
|
||||
fi
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in New Issue