diff --git a/pages/common/setopt.md b/pages/common/setopt.md new file mode 100644 index 00000000000000..0f493465fa5315 --- /dev/null +++ b/pages/common/setopt.md @@ -0,0 +1,20 @@ +# setopt + +> Set/unset Z shell (zsh) options. +> More information: . + +- List enabled options: + +`setopt` + +- Set an option: + +`setopt {{option}}` + +- Unset an option: + +`unsetopt {{option}}` + +- Display all available options and their status: + +`set -o`