Hacker News new | ask | show | jobs
by pmarin 2424 days ago
For interactive shells do not matter if is not POSIX compliant. I use csh (the really old one) as interactive shell.
2 comments

Yes and no. One nice thing about shell, is that you can log your commands/look at your history - and easily automate tasks (turn an interactive session into a script).

The only trouble is, such snippets have a way of sneaking into documentation, ci pipelines and other places.

And then non-posix isn't quite as nice anymore. Even if csh or fish might be the nicer language.

I do think the oil shell project is on the right track, by trying to "fix" shell (and fish is a great source of inspiration for the interactive part).

Still, when plan9 didn't manage to take over, I guess I'm a bit sceptical about any new shell having much success...

It matters a lot when dealing with default environment variables. Even when expanding $PATH fish will give you much headache.