News for hackers. Stuff that matters.
Re:The fish shell is amazing by pxc on Thursday November 25, 2021 @12:27PM (#29343175)
You can run PowerShell on Unix already, but imo it is too slow for interactive use. Getting it to act like a Fish makes it very, very slow
Re:The fish shell is amazing by exyi on Thursday November 25, 2021 @04:27PM (#29345153)
But I think it's quite good for scripting. You can call any system command as easily as in bash while being able to use variables for not just strings. I'd never use it as interactive shell, of course :]

Also... the script will then run only on my machine as most Linux systems don't have powershell and most Windows don't have the Unix commands I still use all the time.

Re:The fish shell is amazing by pxc on Thursday November 25, 2021 @05:21PM (#29345517)
Yeah, I agree that PowerShell is great for scripting. I don't do that much scripting on my personal Linux systems that really calls for PowerShell, but I like using PowerShell for hitting HTTP APIs or processing structured data at work.

> Also... the script will then run only on my machine as most Linux systems don't have powershell and most Windows don't have the Unix commands I still use all the time.

Hahahaha! Oof.

It's more work, but when I use PowerShell, I try to use pure PowerShell, both for aesthetic reasons (cleanliness, ‘portability’) and just in order to practice and learn more PowerShell APIs along the way.

Re:The fish shell is amazing by Aloha on Thursday November 25, 2021 @04:14PM (#29345051)
I can't imagine it being any slower then it already is out of the box.