The main benefit with zsh is compatibility with other platforms.

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר

________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Pew, Curtis G <[email protected]>
Sent: Monday, February 19, 2024 2:31 PM
To: [email protected]
Subject: Re: zsh for z/OS

On Feb 17, 2024, at 11:00 AM, Paul Gilmartin 
<[email protected]> wrote:

What are the benefits of zsh?  Are there incompatibilities?

I largely stay with POSIX shell for portability of scripts and skills.

Apple switched to zsh because newer versions of bash are covered by the GPLv3 
license, which is less corporate-friendly than the older GPLv2. I would assume 
that IBM has similar motivation.

If you’re still seeing bash on a Mac that probably means you started using it 
before the switch. It’s been a while, but when they switched the default I had 
to do something (probably in Terminal) to get it to switch for me. (It used to 
prompt you to switch if you opened with a bash shell.) There’s still bash 
available on MacOS, but it’s a rather old version, 3.2.57 while the current 
stable release is 5.2.21.


--
Curtis Pew
ITS Campus Solutions
[email protected]




----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to