asdf-java icon indicating copy to clipboard operation
asdf-java copied to clipboard

Reworked setting of bash JAVA_HOME

Open Johnny-Malizia opened this issue 4 years ago • 0 comments

This change will set JAVA_HOME before a command is executed, not when the prompt is displayed. The difference is subtle but it reduces terminal latency significantly.

I also swapped out the call to asdf which for asdf where to reduce the amount of work necessary to set the JAVA_HOME as the value provided by asdf where provides the correct path.

@halcyon from our discussion earlier, I think this change fits a little better and keeps all existing functionality only reducing the amount of latency added to the terminal.

Johnny-Malizia avatar Jul 31 '20 01:07 Johnny-Malizia