Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Adding builtin command option aliases



Would you be willing to add option aliases to builtin commands to align
with other shells, like bash, so that scripts will be more easily portable
across multiple shells?

e.g., bash read has the -a argument, while zsh read has -A.  They seem to
do the exact same thing.  It's a shame that a script needs to detect which
shell is running to determine which option to use.

Providing such interoperability might increase the number of zsh users, and
ease the transition for macOS 10.15+ & other users

Thanks,

Ross


Messages sorted by: Reverse Date, Date, Thread, Author