Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: leading '=' in enviroment variable truncated
- X-seq: zsh-workers 38436
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx, zsh-workers@xxxxxxx
- Subject: Re: leading '=' in enviroment variable truncated
- Date: Sun, 8 May 2016 19:14:48 -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=Ucn0xu6+8tNfTjy4w3+hzWOq4Wf7hMo+npHZanSXiik=; b=N8aPHurRjlcCEBPitRgYoi2nNp3cnbVjPvnR7iLhESG0fNlrooz7FOt0uoZeAtA8T5 R0XpIRa9FFFpKOSeXogYjjbc/435VYvMlinRMxtYJKRrqjjcmOVbjweMW7LJiqAsoZI7 bh1TFNBsdGAd1b4sG61iSRK2ACuJfRsSZuEghUIyE5oPayFtM1k6Zq0fcC3laWrEXCnH RwLBooW8iAdf0w+EtWx+mkC+UtPq+cZnWlWYDu4hSfpHdoduyGBqEspDvy3eK3vQ7hV7 XYSanOJDtMEglaDyYA/6zjeQ9N0sPZr+krl6/8f2ZPEZvj/ymgkg/TKyNg1c7LdLZ6Tr sBKg==
- 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:
}
} 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