aboutsummaryrefslogtreecommitdiff
path: root/src/cached.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-07-09 15:18:15 +0100
committergingerBill <bill@gingerbill.org>2024-07-09 15:18:15 +0100
commit5627af582a7882c640f0f4c5b285bafb6377fce1 (patch)
treec16b68cd47b1b0887103ad5a7b247e8c04b7e925 /src/cached.cpp
parentd7016422939b3c4f0eeec4fb45796667655489cf (diff)
Add `RPROMPT` to blacklist
Diffstat (limited to 'src/cached.cpp')
-rw-r--r--src/cached.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cached.cpp b/src/cached.cpp
index 37eac6924..02cb1ae96 100644
--- a/src/cached.cpp
+++ b/src/cached.cpp
@@ -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="))) {
continue;
}
- if (string_starts_with(str, str_lit("PROMPT="))) {
- continue;
- }
array_add(&envs, str);
}
#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="))) {
continue;
}
+ if (string_starts_with(str, str_lit("RPROMPT="))) {
+ continue;
+ }
array_add(&envs, str);
}
#endif