Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: leading '=' in enviroment variable truncated
- X-seq: zsh-workers 38437
- From: Jacob Lowe <jacoblowe2.0@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxx
- Subject: Re: leading '=' in enviroment variable truncated
- Date: Mon, 09 May 2016 02:19:16 +0000
- 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==
- In-reply-to: <160508191448.ZM11069@torch.brasslantern.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> <160508191448.ZM11069@torch.brasslantern.com>
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@xxxxxxxxxxxxxxxx>
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
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author