mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 17:22:10 +02:00
23 lines
571 B
Markdown
23 lines
571 B
Markdown
# defaults
|
|
|
|
> Read and write macOS user configuration for applications.
|
|
|
|
- Read system defaults for an application option:
|
|
|
|
`defaults read {{application}} {{option}}`
|
|
|
|
- Read default values for an application option:
|
|
|
|
`defaults read -app {{application}} {{option}}`
|
|
|
|
- Write the default value of an application option:
|
|
|
|
`defaults write {{application}} {{option}} {{-type}} {{value}}`
|
|
|
|
- Speed up Mission Control animations:
|
|
|
|
`defaults write com.apple.Dock expose-animation-duration -float 0.1`
|
|
|
|
- Delete all defaults of an application:
|
|
|
|
`defaults delete {{application}}`
|