snippetbashTip
setopt — Set Z shell (`zsh`) options. Note: Zsh options are case-insensitive and underscores are ignored. See
Viewed 0 times
shellcommandoptionsnotezshclisetoptset
Problem
How to use the
setopt command: 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>.Solution
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:
setoptSet an option:
setopt {{option}}Display all available options and their status:
set -oCode Snippets
List enabled options
setoptSet an option
setopt {{option}}Display all available options and their status
set -oContext
tldr-pages: common/setopt
Revisions (0)
No revisions yet.