Live data from Hacker News

Use zsh as the default shell on your Mac

support.apple.com

221–230 of 252 posts

Re: Use zsh as the default shell on your Mac

#221
post #188

Earlier quoted context omitted.

I used fish for a while, but the fact that it is a clear break from bash / sh syntax for things like chaining and redirecting made my reflexes all wrong. I'd type `dothis && dothat` and fish would just say, "umm, I think you mean `dothis and dothat`", or I'd have to use a bash subshell to run some command someone else wrote with some fiddly find syntax piping to xargs. So I just switched to zsh. Less cool name, but m…

They caved and support that syntax now in fish.

While not caving on plenty of others. E.g. errors when a wildcard can’t be expanded (because it is not meant as a wildcard) and you have to explicitly quote. Or (subcommand) instead of $(subcommand). There are more cases I frequently encounter.

Infuriatingly, fish knows what I meant, as the error tells me what to do instead. But it won’t do it for me and prefers to lecture me instead.

Re: Use zsh as the default shell on your Mac

#222
post #189

Earlier quoted context omitted.

That's actually one of the better new features in Windows 10 (that you can these days scroll an inactive window).

Oh, really? I might give it a try again one of these days, then.

I'm no Windows fan, but Windows 10 is the first where I don't actively hate the window manager. Well, I do hate how it keeps moving all my windows to the left side of the desktop. Not sure why that is happening. So I guess I hate something different about it now.

Re: Use zsh as the default shell on your Mac

#223
post #111

Earlier quoted context omitted.

That is nothing compared to writing portable UNIX scripts during the UNIX wars. Having to deal with three variants is relatively simple. Now having to deal with DG/UX, Aix, Tru64, SGI, HP-UX, Solaris, BSD and the new incumbent Linux, that was fun.

Yup, and then down in the code, it was #ifdef's up to your eyeballs[1], even if you went all the way and used autoconf/configure and then... more #ifdefs. And we can tell our kids we had this thing called endianness which showed up in structure packing, system calls, network byte ordering, and hopefully portable binary file formats. Thankfully we had RPC and IDL to save us from that mess... not. Oh and don't forget t…

Funny you should mention RPC because of course RPC was all the rage back in 1993, with the heap of garbage they called DCE/RPC.

To this date, this is the only network protocol I have ever seen that not only allowed you to choose the endianness you will use in the header, but also the floating point format.

Re: Use zsh as the default shell on your Mac

#224

Earlier quoted context omitted.

Because GPL v3 says you have to run modified binaries and that means Apple has to give its private keys.

Why do they have to run modified binaries?

Because that's one of the rights users of GPLv3 software have.

Re: Use zsh as the default shell on your Mac

#225
post #111

Earlier quoted context omitted.

So, Homebrew? You can't tell me that Microsoft is able to ship entire distribution's userlands (Debian, Ubuntu, SUSE, and more) through the Windows Store, including all their GPL3 components, and Apple can't figure out how to ship an updated version of base64. If I'm grumbling, it's just because making devops/CI scripts work on Windows and Linux is easier than MacOS and Linux these days because my colleagues run into…

That is nothing compared to writing portable UNIX scripts during the UNIX wars. Having to deal with three variants is relatively simple. Now having to deal with DG/UX, Aix, Tru64, SGI, HP-UX, Solaris, BSD and the new incumbent Linux, that was fun.

> Now having to deal with DG/UX, Aix, Tru64, SGI, HP-UX, Solaris, BSD and the new incumbent Linux, that was fun.

Don't forget AIX/ESA (a weird beast), NextSTEP (which is still with us, in disguise), the HPC crowd (UNICOS, OSF/1 AD...), SINIX (my first contact with the internet, thanks to Siemens/Nixdorf)...

Re: Use zsh as the default shell on your Mac

#226

Earlier quoted context omitted.

Yup, and then down in the code, it was #ifdef's up to your eyeballs[1], even if you went all the way and used autoconf/configure and then... more #ifdefs. And we can tell our kids we had this thing called endianness which showed up in structure packing, system calls, network byte ordering, and hopefully portable binary file formats. Thankfully we had RPC and IDL to save us from that mess... not. Oh and don't forget t…

Funny you should mention RPC because of course RPC was all the rage back in 1993, with the heap of garbage they called DCE/RPC. To this date, this is the only network protocol I have ever seen that not only allowed you to choose the endianness you will use in the header , but also the floating point format .

The joys of CORBA and COM!

Re: Use zsh as the default shell on your Mac

#227
post #91

Earlier quoted context omitted.

Those seem like pretty big downsides to me, and I don't believe the new terminal marketing gimmick. I will admit Windows has been very attractive lately for gaming reasons, but from a development standpoint, MacOS still seems way ahead of Windows. I seriously considered it, but there would be too much I'd miss if I switched. There's some minor reasons too, like why does IntelliJ look ugly in Windows? It looks great i…

Well did you try out Linux bash on windows. In less than 2 minutes you setup a Debian instance. You got shells and everything. All well known ide's are available on both Windows and Mac. In my opinion there is no real difference anymore. I am a Mac user and windows user. The only reason why I still use my Mac is because of the ergonomics.

Genuinely curious - which ergonomics do you mean? Macbooks have objectively terrible keyboards these days, and the lack of dedicated buttons on the trackpad makes two handed trackpad use a royal pain. Yes, the mouse movement is precise, but the trackpad doesn't blow my mind.

Old thinkpads with 7-row keyboards had proper ergonomics, to my mind anyway.

Re: Use zsh as the default shell on your Mac

#228
post #222

Earlier quoted context omitted.

Oh, really? I might give it a try again one of these days, then.

I'm no Windows fan, but Windows 10 is the first where I don't actively hate the window manager. Well, I do hate how it keeps moving all my windows to the left side of the desktop. Not sure why that is happening. So I guess I hate something different about it now.

You mean it's snapping to the left half after some action? That would probably be when you press Windows+Left-Arrow, happens to me sometimes when I try to do Ctrl-left for example.

Re: Use zsh as the default shell on your Mac

#229
post #166

Earlier quoted context omitted.

>from a development standpoint >I'm confident most of the .NET community is very happy with Visual Studio .NET is not the only ecosystem people develop for. There are embedded C/Forth, web frontend/backend, written in Java, Scala, Ruby, Python, other stuff. VS sucks for nearly everything safe C#/C++ for windows. Besides, even for C# people use an additional plugin, resharper, so VS is not enough even for its target e…

> Besides, even for C# people use an additional plugin, resharper, so VS is not enough even for its target ecosystem. Those that have CPU cycles and memory to spare do.

ReSharper is a meme in the .NET world, similar to how Crysis in the gaming world is: https://i.imgur.com/LQkRlSN.png

I have a laptop with 64GB of memory just because I need to run VS + ReSharper in a VM. Seriously.

Re: Use zsh as the default shell on your Mac

#230

Earlier quoted context omitted.

Because GPL v3 says you have to run modified binaries and that means Apple has to give its private keys.

No? You just resign the binary with your key.

I'm sorry, this is totally off-topic but I had to re-read your comment 5 times until it became apparent that you meant re-sign, not surrender. English is funny sometimes (especially when you're not a native speaker like me:) ).
Post reply on HN