mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Add RPROMPT to blacklist
This commit is contained in:
+3
-3
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user