diff --git a/solid.theme b/solid.theme index 678690e..75f9bfa 100644 --- a/solid.theme +++ b/solid.theme @@ -1,5 +1,10 @@ _lp_solid_theme_activate() { + if ! _lp_version_greatereq 2 2 0 ; then + _lp_join "." ${_LP_VERSION[@]} + printf "WARNING: the Solid theme requires Liquid Prompt >= 2.2.0, but you have version $lp_join, some features will not work and the prompt may crash.\n" + fi + local lp_terminal_format lp_terminal_format 63 -1 0 0 4 0 SP_COLOR_BASE="$lp_terminal_format"