Hacker News new | ask | show | jobs
by axkdev 1465 days ago
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.
1 comments

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

  exec bash
  <paste some bash>
  exec fish