Hacker News new | ask | show | jobs
by karshan 484 days ago
FYI The fish shell does this by default.
1 comments

But it's not a POSIX shell
Yes, but it's a shell nevertheless :), and it actually now supports some of the most common bashisms, so simple copy-pasted commands designed for bash now work. For any actual scripting IMO bash (or /bin/sh) is still the better choice, since it's installed everywhere, even though it might not have such great syntax.