Skip to content

Comment on Fish Shell 3.5.0parent

Comments

You can 1. Make your scripts executable or 2. Use bash / zsh inside of fish. 3. You can define wrapper functions in fish that just call bash/zsh functions internally. I use fish, although I hate writing scripts in it. It just feels wrong. Better stick to good old bash.

For copying and pasting while preserving environments, you can always use `exec` as an escape hatch.

  exec bash
  <paste some bash>
  exec fish
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.