zsh-workers
 help / color / mirror / code / Atom feed
From: Jacob Lowe <jacoblowe2.0@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>, zsh-workers@zsh.org
Subject: Re: leading '=' in enviroment variable truncated
Date: Mon, 09 May 2016 02:19:16 +0000	[thread overview]
Message-ID: <CAEyFG7ZBf3-WJKTa0dkdNFtSwSmEf6kh_igKSMtfeMu67iBDrg@mail.gmail.com> (raw)
In-Reply-To: <160508191448.ZM11069@torch.brasslantern.com>

[-- Attachment #1: Type: text/plain, Size: 731 bytes --]

Thank you Barton for help and information. I think there is simple
workarounds for this that we can document in dotenv, and luckily this is
just osx issue.

On Sun, May 8, 2016, 7:14 PM Bart Schaefer <schaefer@brasslantern.com>
wrote:

> On May 7,  4:21pm, Jacob Lowe wrote:
> }
> } From the feedback in the ticket, it seems this is happening in ZSH only
> and
> } when logging into bash the command works as expected. I also tried
> } something very similar in ruby and got the same result.
> }
> } TEST='=test' ruby -e 'puts ENV["TEST"]'
>
> Peter's discovery that this is a documented feature of iOS / OSX "setenv"
> points to the obvious workaround:
>
> TEST='==test' ruby -e 'puts ENV["TEST"]'
>
>
> --
> Barton E. Schaefer
>

      reply	other threads:[~2016-05-09  2:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-07 16:21 Jacob Lowe
2016-05-07 16:43 ` Jacob Lowe
2016-05-08 17:59 ` Bart Schaefer
2016-05-08 19:12   ` Peter Stephenson
2016-05-08 20:24     ` Bart Schaefer
2016-05-08 20:28       ` Peter Stephenson
2016-05-08 21:58         ` Bart Schaefer
2016-05-08 22:16           ` Bart Schaefer
2016-05-09  9:11             ` Peter Stephenson
2016-05-09 14:52               ` Bart Schaefer
2016-05-09  2:14 ` Bart Schaefer
2016-05-09  2:19   ` Jacob Lowe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEyFG7ZBf3-WJKTa0dkdNFtSwSmEf6kh_igKSMtfeMu67iBDrg@mail.gmail.com \
    --to=jacoblowe2.0@gmail.com \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).