reset color definitions before loading a new theme
This commit is contained in:
@@ -198,6 +198,9 @@ set_theme()
|
||||
|
||||
# -- apply mode ----------------------------------------------------------
|
||||
local theme_name="$1"
|
||||
|
||||
# Reset colours to defaults before loading the new theme
|
||||
set_colors
|
||||
load_theme "$theme_name" || return 1
|
||||
|
||||
export PROMPT_THEME="$theme_name"
|
||||
|
||||
Reference in New Issue
Block a user