I'm trying to get SBT running using the Fish shell. Below is the equivalent Bash script of what I'm trying to achieve:
java -Xmx512M -jar `dirname $0`/sbt-launch.jar "$@"
I see in the Fish documentation that $@
in Bash can be replaced with $argv
in Fish.
But I cannot see what to replace dirname $0
with.
Does anyone know the equivalent script in Fish?