From d03ced93bf54d5a482406fbfba674cc87af7fec3 Mon Sep 17 00:00:00 2001 From: fatalerrors Date: Thu, 21 May 2026 16:12:34 +0200 Subject: [PATCH] fix help and spellcheck --- profile.d/prompt.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/profile.d/prompt.sh b/profile.d/prompt.sh index ab99a40..8fbecb4 100644 --- a/profile.d/prompt.sh +++ b/profile.d/prompt.sh @@ -293,8 +293,8 @@ set_theme() printf "Options:\n" printf "\t-h, --help\tDisplay this help screen\n" printf "\t-l, --list\tList available themes (default when no argument is given)\n" - printf "\t-p, --preview\tPreview a theme without applying it\n\n" - printf "\t-S, --save\tSave theme to configuration ([prompt] PROMPT_THEME)\n\n" + printf "\t-p, --preview\tPreview a theme without applying it\n" + printf "\t-S, --save\tSave theme to configuration\n\n" printf "Arguments:\n" printf "\ttheme \tBare theme name (e.g. 'dark') or an explicit path to a .theme file.\n" printf "\t \tThemes are searched in: %s\n" "$theme_dir" @@ -420,7 +420,7 @@ set_theme() export PROMPT_THEME="$old_theme" fi for _v in "${old_prompt_color_vars[@]}"; do - export "$_v" + export "${_v%%=*}=${_v#*=}" done return 0 fi