I'm new to zsh in Catalina. In .zshrc, I currently have
setopt CORRECT setopt CORRECT_ALL
When I run a java program from the command line, I want only:
% java ProgramName
If I type
java Pro autocomplete adds the rest of the name but also appends
.class. (Or, if I have the source file in the same directory, it appends the
. after the name) and I then have to delete
.class (or hit the backspace once) before I can run the program.
Is there a way to get zsh autocomplete to omit
.) but only when the initial command is
I'd prefer not to install something like Oh My Zsh which might alter my other zsh settings.