Jabba-Team / jabba

(cross-platform) Java Version Manager
Apache License 2.0
141 stars 11 forks source link

Install script is broken for fish #40

Closed cking closed 6 months ago

cking commented 6 months ago

The install script breaks for fish.

It adds the following line to the config.fish: \n[ -s "/home/criss/.jabba/jabba.fish" ]; and source "/home/criss/.jabba/jabba.fish" (with a verbatim \n in the line)

After every line it will thus print the following error:

~/.config/fish/config.fish (line 8):
\n[ -s "/home/criss/.jabba/jabba.fish" ]; and source "/home/criss/.jabba/jabba.fish"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
from sourcing file ~/.config/fish/config.fish