mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 22:50:27 +00:00
Update cheatsheets
This commit is contained in:
23
tldr/setopt
Normal file
23
tldr/setopt
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
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`
|
||||
Reference in New Issue
Block a user