you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 10 months ago (2 children)

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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 10 months ago (1 child)
  • [–] 2 points 10 months 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.

  • source
  • parent