• Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 hours ago

    I have that occasionally when I want to copy a complex bash command from somewhere. But yeah, I can then just run bash, run the command in there and then exit back out of there.

      • Ephera@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        43 minutes ago

        I’m guessing, you mean this then: https://github.com/edc/bass

        But well, I was rather thinking of when it’s using Bash-scripting-syntax to combine multiple commands.
        Like, maybe there’s a for-loop in there. You just can’t paste that directly into Fish and have it work. Granted, you should probably put that into a script file, even if you’re using Bash, but yeah, just temporarily launching bash is also an option.