1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/osx/defaults.md

24 lines
571 B
Markdown
Raw Normal View History

2015-12-31 00:15:24 +05:30
# defaults
> Read and write macOS user configuration for applications.
2015-12-31 00:15:24 +05:30
- Read system defaults for an application option:
2015-12-31 00:15:24 +05:30
`defaults read {{application}} {{option}}`
2015-12-31 00:15:24 +05:30
- Read default values for an application option:
2015-12-31 00:15:24 +05:30
`defaults read -app {{application}} {{option}}`
2015-12-31 00:15:24 +05:30
- Write the default value of an application option:
2015-12-31 00:15:24 +05:30
`defaults write {{application}} {{option}} {{-type}} {{value}}`
2015-12-31 00:15:24 +05:30
- Speed up Mission Control animations:
2015-12-31 00:15:24 +05:30
`defaults write com.apple.Dock expose-animation-duration -float 0.1`
- Delete all defaults of an application:
`defaults delete {{application}}`