hvm
hvm copied to clipboard
Doesn't work with zsh shell
The scripts don't fully work under zsh shell.
Wrappers for haxe, haxelib, neko work, but hvm use doesn't.
I tried troubleshooting but didn't find a solution: version validation fails as the entire array of versions is compared to the version requested instead of the array entries one by one :/
Workaround is to run a bash shell to change versions:
> bash
$ source ~/.profile
$ hvm use haxe 3.1.3
$ exit
> haxe -version
3.1.3
Or creating a set-haxe script:
#!/bin/bash
source ~/.hvm/hvm.sh
hvm use haxe $1