I am trying to start SBT using the Fish shell. The following is the equivalent of the Bash script of what I'm trying to achieve:
java -Xmx512M -jar `dirname $0`/sbt-launch.jar "$@"
In the Fish documentation, I see that $@in Bash you can replace with in $argvin Fish. But I do not see what to replace dirname $0with.
Does anyone know the equivalent script in Fish?
source
share