Fixing base theme
parent
4e6a3c5794
commit
5dcb8243b7
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue