How to use
So, for the time being, like this in .bashrc and .zshrc, alias setting
.zshrc
alias jshell='docker run -it --rm java:9-jdk jshell'
After that, reopen the window or read it again with the source command.
jshell
that's all.
Recommended Posts