Closed tmulle closed 1 month ago
I commented out all of those __sdkman_echo_debug
lines and that seemed to fix the startup issue.
But now I get this kind of output when I do any sdk
commands.
❯ sdk update
Using candidates endpoint: https://api.sdkman.io/2/candidates/all
Local candidates: activemq,ant,asciidoctorj,ballerina,bld,bpipe,btrace,concurnas,connor,coursier,cuba,cxf,detekt,doctoolchain,flink,gaiden,gcn,grace,gradle,gradleprofiler,grails,groovy,groovyserv,hadoop,helidon,http4k,infrastructor,jarviz,java,jbake,jbang,jetty,jextract,jikkou,jmc,jmeter,joern,jreleaser,karaf,kcctl,ki,kobweb,kotlin,kscript,ktx,layrry,leiningen,liquibase,maven,mcs,micronaut,mulefd,mvnd,mybatis,neo4jmigrations,pierrot,pomchecker,quarkus,sbt,scala,scalacli,schemacrawler,skeletal,spark,springboot,sshoogr,taxi,test,tomcat,toolkit,vertx,visualvm,webtau,znai
Fetched candidates: activemq,ant,asciidoctorj,ballerina,bld,bpipe,btrace,concurnas,connor,coursier,cuba,cxf,detekt,doctoolchain,flink,gaiden,gcn,grace,gradle,gradleprofiler,grails,groovy,groovyserv,hadoop,helidon,http4k,infrastructor,jarviz,java,jbake,jbang,jetty,jextract,jikkou,jmc,jmeter,joern,jreleaser,karaf,kcctl,ki,kobweb,kotlin,kscript,ktx,layrry,leiningen,liquibase,maven,mcs,micronaut,mulefd,mvnd,mybatis,neo4jmigrations,pierrot,pomchecker,quarkus,sbt,scala,scalacli,schemacrawler,skeletal,spark,springboot,sshoogr,taxi,test,tomcat,toolkit,vertx,visualvm,webtau,znai
Fresh and cached candidate lengths: 556 556
❯ sdk version
Using existing cache: activemq,ant,asciidoctorj,ballerina,bld,bpipe,btrace,concurnas,connor,coursier,cuba,cxf,detekt,doctoolchain,flink,gaiden,gcn,grace,gradle,gradleprofiler,grails,groovy,groovyserv,hadoop,helidon,http4k,infrastructor,jarviz,java,jbake,jbang,jetty,jextract,jikkou,jmc,jmeter,joern,jreleaser,karaf,kcctl,ki,kobweb,kotlin,kscript,ktx,layrry,leiningen,liquibase,maven,mcs,micronaut,mulefd,mvnd,mybatis,neo4jmigrations,pierrot,pomchecker,quarkus,sbt,scala,scalacli,schemacrawler,skeletal,spark,springboot,sshoogr,taxi,test,tomcat,toolkit,vertx,visualvm,webtau,znai
SDKMAN!
script: 5.18.2
native: 0.4.6
Ok found the solution.. not sure why but the sdkman_debug_mode
was set to true
Setting it to false
fixed the issue.
Bug report
I'm not sure if this is a SDKMAN core or ZSH_SDKMAN plugin issue, but I posted this issue there and here as well because I don't know where to look to stop this output.
https://github.com/ptavares/zsh-sdkman/issues/1
But whenever I open
iTerm2
on my Mac M1 14.6.1 Sonoma, I get the following output:It is causing a big warning message to print out as mentioned in the link I posted.
I can't find anywhere where it is printing out.
If I comment out the loading of the
zsh-sdman
plugin in the~/.zshrc
I don't get the output anymore but then commands likesdk
don't work, etc.To reproduce
System info
I always get that extra output and I don't know why..
I just looked at my
~/.sdkman/bin/sdkman-init.sh
file and found this:I think the issue is the
__sdkman_echo_debug
line?