---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# setopt

> Set Z shell (`zsh`) options.
> Note: Zsh options are case-insensitive and underscores are ignored.
> See also: `unsetopt` to unset options.
> More information: <https://zsh.sourceforge.io/Doc/Release/Options.html>.

- List enabled options:

`setopt`

- Set an option:

`setopt {{option}}`

- Display all available options and their status:

`set -o`
