HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

unsetopt — Unset options for the Z shell (`zsh`). Note: Zsh options are case-insensitive and underscores are ig

Submitted by: @import:tldr-pages··
0
Viewed 0 times
theshellcommandoptionsunsetcliunsetoptfor

Problem

How to use the unsetopt command: Unset options for the Z shell (zsh). Note: Zsh options are case-insensitive and underscores are ignored. See also: setopt. More information: <https://zsh.sourceforge.io/Doc/Release/Options.html>.

Solution

unsetopt — Unset options for the Z shell (zsh). Note: Zsh options are case-insensitive and underscores are ignored. See also: setopt. More information: <https://zsh.sourceforge.io/Doc/Release/Options.html>.

List all currently unset options (use setopt to list set options):
unsetopt


Unset a specific option:
unsetopt {{option_name}}


Unset multiple options at once:
unsetopt {{option_name1 option_name2 ...}}

Code Snippets

List all currently unset options (use `setopt` to list set options)

unsetopt

Unset a specific option

unsetopt {{option_name}}

Unset multiple options at once

unsetopt {{option_name1 option_name2 ...}}

Context

tldr-pages: common/unsetopt

Revisions (0)

No revisions yet.