1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 00:17:56 +01:00
tldr/pages/osx/defaults.md
Daniel Bayley 8ce4c60a44 Update macOS references
Update references to 'OS X' to 'macOS'.
2017-07-28 21:13:30 +05:30

571 B

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}}