halcyon/asdf-java

Install of java versions fail when in a terminal with output colors for `ls` commands

Opened this issue · 1 comments

When the ls command outputs directories with colors, the command will fail with output like:

/Users/david/.asdf/plugins/java/bin/install: line 178: cd: $'\E[1m\E[34m./jdk-21.0.1+12/\E[39;49m\E[0m': No such file or directory

ls defaults is not show colors, and it's not normal for other projects to force reset defaults so it overrides the options you've set locally.
I for one use a different command for ls and it will fail if the PR merged in.
If it is merge then I will simply reset my ls command to the default.