From d0468afbdcb3daa8f458930a0c1c518ad7aff917 Mon Sep 17 00:00:00 2001 From: nojhan Date: Tue, 18 Oct 2022 20:24:01 +0200 Subject: [PATCH] fix(cmake): update c/cxx compiler fields was using the old LP's single compiler --- dotmatrix.theme | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dotmatrix.theme b/dotmatrix.theme index 09324f3..4c96b5f 100644 --- a/dotmatrix.theme +++ b/dotmatrix.theme @@ -459,7 +459,9 @@ _lp_dotmatrix_theme_prompt() { inline_left+="$d${lp_aws_profile}$b" fi if _lp_cmake ; then - inline_left+="$d${lp_cmake_compiler}$I${lp_cmake_generator}$I${lp_cmake_buildtype}$b" + local lp_join + _lp_join "$I" ${lp_cmake_c_compiler} ${lp_cmake_cxx_compiler} ${lp_cmake_generator} ${lp_cmake_buildtype} + inline_left+="$d${lp_join}$b" fi # History section.