halcyon / asdf-java

A Java plugin for asdf-vm.
MIT License
467 stars 86 forks source link

set-java-home for fish and bash not setting JAVA_HOME #85

Closed Anthonyzou closed 4 years ago

Anthonyzou commented 4 years ago

Running with bash . ~/.asdf/plugins/java/set-java-home.bash (version 5.0.17)

bash: PROMPT_COMMAND: line 16: syntax error near unexpected token `;'
bash: PROMPT_COMMAND: line 16: `; prompt_command; prompt_command'

Running . ~/.asdf/plugins/java/set-java-home.fish (version 3.1.0) Doesn't cause any errors but $JAVA_HOME does not seem to be set.