bash - Directory of running script in Fish shell -


I am trying to run SBT using fish shell. Below I am trying to achieve what is the equivalent bidding script:

  java -xmx512m -jar `dirname $ 0` / sbt-launch.jar" $ @ " 

I see in the fish document that Bash can be converted into fish from $ argv in $ @ but I can not see that How to change dirname $ 0

Do anyone know the same script in fish?

$ _ Only work directly through the reader / command line, or when the script's help

For me, it may work for you:

  java-xmx512m -jar (dirname (status -f)) / sbt-launch .jar "$ argv" # Fish  

Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -