Add RPROMPT to blacklist

This commit is contained in:
gingerBill
2024-07-09 15:18:15 +01:00
parent d701642293
commit 5627af582a
+3 -3
View File
@@ -246,9 +246,6 @@ gb_internal bool try_cached_build(Checker *c, Array<String> const &args) {
if (string_starts_with(str, str_lit("CURR_DATE_TIME="))) { if (string_starts_with(str, str_lit("CURR_DATE_TIME="))) {
continue; continue;
} }
if (string_starts_with(str, str_lit("PROMPT="))) {
continue;
}
array_add(&envs, str); array_add(&envs, str);
} }
#else #else
@@ -258,6 +255,9 @@ gb_internal bool try_cached_build(Checker *c, Array<String> const &args) {
if (string_starts_with(str, str_lit("PROMPT="))) { if (string_starts_with(str, str_lit("PROMPT="))) {
continue; continue;
} }
if (string_starts_with(str, str_lit("RPROMPT="))) {
continue;
}
array_add(&envs, str); array_add(&envs, str);
} }
#endif #endif