Chapter Summary
The Z Shell implements nearly all the features of the Bourne Again Shell, as well as the most useful features of the TC Shell. You can customize the Z Shell to create a personal interactive environment by choosing settings for options and values for variables and by defining aliases and functions.
You assign attributes to Z Shell variables with the typeset builtin. The Z Shell provides operators to perform pattern matching on variables, provide default values for variables, and evaluate the length of the value of variables. The Z Shell supports array variables and local variables for functions and provides built-in integer arithmetic capability, using the let builtin and an expression syntax similar to the C programming language. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access