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

Does not work on Fish 2.5.0 #21

Open
martinisoft opened this issue Feb 9, 2017 · 0 comments
Open

Does not work on Fish 2.5.0 #21

martinisoft opened this issue Feb 9, 2017 · 0 comments

Comments

@martinisoft
Copy link

Fish 2.5.0 fixed a bug with function definitions that now makes the init function with eval an invalid function. Here is the debug output:

function: Unexpected positional argument 'set'
- (line 1): begin;  function chefvm   set command "$1"   if test [ "$argv" -gt 0 ]     shift   end    switch "$command"     case shell       eval `chefvm "sh-$command" "$argv"`     case "*"       command chefvm "$command" "$argv";  end end
                    ^
from sourcing file -
        called on line 60 of file /usr/local/Cellar/fish/2.5.0/share/fish/functions/eval.fish

in function 'eval'
        called on line 1 of file -

from sourcing file -
        called on line 60 of file /usr/local/Cellar/fish/2.5.0/share/fish/functions/eval.fish
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

1 participant