O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Z Shell Options

The Z Shell has a number of options that you can use to alter the behavior of the shell. Table 15-25 describes many of the available options. Refer to the zsh options man page (zshoptions) for a complete list.

Z Shell option names are not case sensitive and ignore underscores. The following names refer to the same option: ignoreeof, IGNOREEOF, Ignore_EOF, IGNORE_EOF, IgN___oRe_EoF. (The last name would not be a good choice because it is difficult both to read and to type.) This book uses all uppercase letters to show option names.

The set builtin sets and unsets options. Use set –o to set, or turn on, an option and set +o to unset it, or turn it off.

zsh % set –o IGNORE_EOF 
zsh % set +o MARK_DIRS
					

These commands turn on the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required