zsh-workers
 help / color / mirror / code / Atom feed
From: Darren Cheng <darren@thanx.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-workers@zsh.org
Subject: Re: env -i /usr/local/bin/zsh infinite parse error
Date: Sat, 28 Dec 2013 23:26:39 -0800	[thread overview]
Message-ID: <CANVvucjzEzaWMyKv0My7HUVa=FanePNXzHe+8+yOPzqVBKoE8Q@mail.gmail.com> (raw)
In-Reply-To: <131228111326.ZM26752@torch.brasslantern.com>

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

Thanks for the help, Bart!

Looks like I was getting this error in my zshenv where I was sourcing rvm

> [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"

I commented that line out temporarily and it stopped the parse error.

I did a fresh install of rvm without any ruby versions installed and that
command worked fine.
I installed ruby-2.0.0-p353 and the error came back.

Is this an issue I should take up with rvm?

Darren @ Thanx


On Sat, Dec 28, 2013 at 11:13 AM, Bart Schaefer
<schaefer@brasslantern.com>wrote:

> On Dec 28, 12:58am, Darren Cheng wrote:
> }
> } I'm receiving an infinite
> }
> } > (eval):1: parse error near `()'
> }
> } using env -i on zsh 5.0.4.
>
> This has to be something in a startup file; my guess is that there's
> something wrong in a precmd function or prompt expansion.
>
> Try
>
>     env -i /usr/local/bin/zsh -v
>
> to see what might be causing the parse error.
>

  reply	other threads:[~2013-12-29  7:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-28  8:58 Darren Cheng
2013-12-28 19:13 ` Bart Schaefer
2013-12-29  7:26   ` Darren Cheng [this message]
2014-01-02 18:50     ` Peter Stephenson

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='CANVvucjzEzaWMyKv0My7HUVa=FanePNXzHe+8+yOPzqVBKoE8Q@mail.gmail.com' \
    --to=darren@thanx.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).