Files
cheatsheet-tldr/tldr/setopt
2025-12-31 00:22:26 +00:00

24 lines
438 B
Plaintext

---
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`.
> 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`