chefvm
chefvm copied to clipboard
Does not work on Fish 2.5.0
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