Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fish 2.6.0, setenv: Too many arguments #1010

Closed
therealmarv opened this issue Jun 15, 2017 · 2 comments
Closed

fish 2.6.0, setenv: Too many arguments #1010

therealmarv opened this issue Jun 15, 2017 · 2 comments

Comments

@therealmarv
Copy link

therealmarv commented Jun 15, 2017

Getting following error since 3-4 days in my fish shell 2.6.0 when opening a terminal (macOS Sierra 10.12.5)

setenv: Too many arguments

rbenv does not work anymore. My config.fish rbenv line:

status --is-interactive; and . (rbenv init -|psub)

Workaround I use right now is a fisherman plugin https://github.com/fisherman/rbenv which seems to work but would be better if fixed in rbenv itself too.

@therealmarv therealmarv changed the title fish 2.6.0 and rbenv fish 2.6.0, setenv: Too many arguments Jun 15, 2017
@anateus
Copy link

anateus commented Jun 15, 2017

The fix I applied locally is convert usage of setenv to set -gx (which it previously was presented as a wrapper for, but is actually meant to replicate setenv from csh.

This seems to already be the case in master, just not yet in the rbenv that in Homebrew, so I suggest closing this.

@mislav
Copy link
Member

mislav commented Jun 15, 2017

This was fixed in https://github.com/rbenv/rbenv/pull/986/files and will be available through Homebrew when Homebrew/homebrew-core#14627 gets merged.

Meanwhile, you can use brew install rbenv --HEAD to install the latest version of rbenv through git.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants