fix help and spellcheck
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user