iridakos/goto

Fish shell support

vertbyqb opened this issue · 2 comments

When running source goto.sh in the fish shell, it gives this error:

goto.sh (line 42): Unexpected ')' found, expecting '}'
    -c|--cleanup)
                ^
from sourcing file goto.sh
source: Error while reading file “goto.sh”

I suspect this is because the fish shell is not POSIX-compliant. Could support for the fish shell be added?

Take a look at using bass for sourcing sh/bash scripts with fish.

Hi, I've made a port of goto to fish shell, you can give it a try: https://github.com/matusf/goto