News for hackers. Stuff that matters.
Re:The fish shell is amazing by ayushnix on Thursday November 25, 2021 @11:34PM (#29347508)
> Then you have to learn two languages.

Why would I need do to that?

> But I write complex commands in the shell a lot ... It's not rare that I write commands that are more than 5 lines long.

Ah, well, yeah, in that case, you might wanna stick to ZSH. I don't write complex commands on the shell. If it's more than 1 line long, I will make it a script. Multiple lines of commands with, or without, backward slash separators look ugly and unwieldy to me. A text editor like vim would do a far better job handling those 5 lines instead of an interactive shell.

Re:The fish shell is amazing by renewiltord on Friday November 26, 2021 @01:31AM (#29347956)
For what it’s worth, as another long line she’ll user, I actually do write those in some combination of the terminal and C-x C-e bringing up my nvim.
Re:The fish shell is amazing by ayushnix on Friday November 26, 2021 @02:05AM (#29348063)
Right, as I said, writing multiple lines of commands on a shell doesn't really make sense because it's not interactive usage, it's scripting. And scripting should be done using an editor, which is what you're doing by using nvim to write the command.