Function does not autoload in Fish shell

Solution 1:

You should have at least one function with the same name as the basename of the autoloaded file. In other words, either rename your file to mvn-or-mvnw.fish or rename the function to mvnw.