Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	HTML_MESSAGE,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
        bh=M6Q1UKj2HG78U8ZeKIUIJ0tW6sF4EQPhaI8G19QfGTE=;
        b=VEi4Cm5ZPK9TemU+bKqHxkoCV1XgmD52ll7PCM4fC9ic8kT5ytGtTRt9tJyikzM0z8
         laqxDybGJ7OqXVz9czARPNKrSIpgAX/NbkEo/VuMiME9OtUYRXg8a85Mg2ZzvonZ6ipL
         wW2ELK7N1by0/DRhSpGykGhgffqAMDDuS11NAZeyx/tVZLYkM6UL+RBE/jBIPFVy+ki9
         DPsgqsu28bZx9PM1YjU+Vr4HPwLtWBAVXb/Vlwnp8YbEHdTxisiL+wuYvZ08ZoY9EOy9
         xF350mjF5WoKmYQvuMziUNKCmAmoDk/ZBfK6GOGcVshdHP/1P4y9X0ZtbnLJdUzNiDtt
         h+PQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:references:in-reply-to:from:date
         :message-id:subject:to;
        bh=M6Q1UKj2HG78U8ZeKIUIJ0tW6sF4EQPhaI8G19QfGTE=;
        b=UBbY5d1Y+pS0DOkff2pJYYCuYByGdS9lMN6xjZyFAtgdF0hpJboe/RdzRLrTYvt/2N
         6x7qGoKI4CwL0R6pEYJ0nkTqgUdYCW7tdBR+O7d6w+a6ApSMqwYPRYtCp6cfIJTWZLiw
         zrkTQM5pdZ/h5m3X5zk+7JsQ5pEuCgLKjvKsbw8UXb0oX6QsxmzKDtOKsK8XEBIkCaA3
         YnHNojQGeyUAHBpTp91xQFj6zaK1Nat22mx54NrtMHm04A/ZGAJ1+CXEahUfr6KyZKXP
         B5Wbur606a1AAR5UZ5w+dEDXmGR1nkK/OTMY66ja9oOGj1q/57dZg3R3pLO6+3jJSqG2
         8GQQ==
X-Gm-Message-State: AOPr4FU8TOUUtLb0O3hOYqkZQwKjWLEy/J94OZNU29wHpJ4VwhBzA0AEb09aMwDFg3KmBdlzOfb14P4amBQwjg==
X-Received: by 10.176.64.133 with SMTP id i5mr19219070uad.12.1462760366480;
 Sun, 08 May 2016 19:19:26 -0700 (PDT)
MIME-Version: 1.0
References: <CAEyFG7ZkxS9iuVtEoJT2aa_ErBm=Nm6JqkpSgt=-=3P-nuZBtg@mail.gmail.com>
 <160508191448.ZM11069@torch.brasslantern.com>
In-Reply-To: <160508191448.ZM11069@torch.brasslantern.com>
From: Jacob Lowe <jacoblowe2.0@gmail.com>
Date: Mon, 09 May 2016 02:19:16 +0000
Message-ID: <CAEyFG7ZBf3-WJKTa0dkdNFtSwSmEf6kh_igKSMtfeMu67iBDrg@mail.gmail.com>
Subject: Re: leading '=' in enviroment variable truncated
To: Bart Schaefer <schaefer@brasslantern.com>, zsh-workers@zsh.org
Content-Type: multipart/alternative; boundary=94eb2c12299e09245605325f705e
X-Seq: zsh-workers 38437

--94eb2c12299e09245605325f705e
Content-Type: text/plain; charset=UTF-8

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
>

--94eb2c12299e09245605325f705e--

