summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index fd182cc..16971ef 100644
--- a/hash.c
+++ b/hash.c
@@ -230,7 +230,8 @@ extern void initenv(char **envp) {
static bool var_exportable(char *s) {
static char *notforexport[] = {
- "apid", "apids", "ifs", "path", "pid", "version", "*"
+ "apid", "apids", "cdpath", "home", "ifs",
+ "path", "pid", "version", "*"
};
int i;
for (i = 0; i < arraysize(notforexport); i++)