hvm icon indicating copy to clipboard operation
hvm copied to clipboard

Doesn't work with zsh shell

Open elsassph opened this issue 7 years ago • 0 comments

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

elsassph avatar Jun 25 '18 19:06 elsassph