Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: leading '=' in enviroment variable truncated
- X-seq: zsh-workers 38428
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Jacob Lowe <jacoblowe2.0@xxxxxxxxx>, zsh-workers@xxxxxxx
- Subject: Re: leading '=' in enviroment variable truncated
- Date: Sun, 8 May 2016 10:59:49 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=QqbWfWWfTNIkkPvZ/b4Bls3vHVjbqwRwaRM/FIaTJSA=; b=oa8ZwqLzryQIug/tJaQzwOVjVTUgGNnp9WPZENAJ0/7X94fcwaNlLFyz0UJh0vNuML To4iWzUioVi6ZdlhZqCSghZJ33uICtNdv+tc8eCFM8G6Q8D1n8LLRsxWJWJ4isAYBweq 6v39avI0YGxnArJZIENq+wBVlsczOxN2LVimxpvTn5dfsZnn8WLiEKz+fGSW6ovFwZkj 6IIaXWSVB3SqkSe29KPMWx9BbIOUgKTEO7F/RZQ8eDerXEq2bq+/a/6qZ8DlHb5l4y7b pVSHfTPLiw1I7LbaG9z0b/HA3/mp+GBUOWjarBdGzYpkdct0Zut49wJefCY/JoIyYy6L YNgQ==
- In-reply-to: <CAEyFG7ZkxS9iuVtEoJT2aa_ErBm=Nm6JqkpSgt=-=3P-nuZBtg@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAEyFG7ZkxS9iuVtEoJT2aa_ErBm=Nm6JqkpSgt=-=3P-nuZBtg@mail.gmail.com>
On May 7, 4:21pm, Jacob Lowe wrote:
}
} https://github.com/motdotla/dotenv/issues/140
}
} TEST='=FOO' node -e 'console.log(process.env.TEST)'
}
} This spits out "FOO" with no leading "=".
As mentioned in the dotenv issue, this happens only on OSX. I've just
confirmed that it's a problem either with the library implementations
of setenv() / unsetenv(), or with zsh's use of them. If I comment out
HAVE_SETENV / HAVE_UNSETENV from config.h and rebuild zsh, I am no
longer able to reproduce the problem.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author