moved load_conf top of files

This commit is contained in:
fatalerrors
2026-07-09 11:11:05 +02:00
parent d375a09623
commit 54da852ac3
14 changed files with 35 additions and 32 deletions

View File

@@ -34,6 +34,7 @@
# * OF SUCH DAMAGE.
# ------------------------------------------------------------------------------
load_conf "prompt"
# ------------------------------------------------------------------------------
# Parse a prompt theme file safely — it is NEVER sourced or executed.
@@ -599,8 +600,6 @@ _pt_theme="${CONF_prompt[PROMPT_THEME]:-}"
_pt_dir="${CONF_prompt[PROMPT_THEME_DIR]:-}"
[[ -n "$_pt_theme" ]] && load_theme "$_pt_theme" ${_pt_dir:+"$_pt_dir"}
unset _pt_theme _pt_dir
load_conf "prompt"
# ------------------------------------------------------------------------------