logoalt Hacker News

your_finlast Saturday at 9:32 PM1 replyview on HN

This is the most common complaint I see for switching interactive shells to fish/nushell, but it's not a problem in practice. You don't ever uninstall bash, so if you've got a command to paste:

  bash <enter>

  <paste> <enter>

  exit <enter>
Tada!

Replies

cromkayesterday at 12:01 PM

Exactly this, couldn't be easier. Heck, I run into this all the time on macOS whenever an LLM gives me a Bash one-liner that for some reason doesn't work with ZSH. It's easier to just pop into Bash than analyze and adapt that command line to ZSH.

show 1 reply