mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 15:33:50 +02:00
commit
4280ac0e38
1 changed files with 23 additions and 0 deletions
23
pages/osx/defaults.md
Normal file
23
pages/osx/defaults.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
# defaults
|
||||
|
||||
> Access OS X user defaults
|
||||
|
||||
- read system default value
|
||||
|
||||
`defaults read {{domain}} {{key}}`
|
||||
|
||||
- read default values of applications
|
||||
|
||||
`defaults read -app {{app_name}} {{key}}`
|
||||
|
||||
- write key value
|
||||
|
||||
`defaults write {{domain}} {{key}} {{-type}} {{value}}`
|
||||
|
||||
- Speed up Mission Control animations
|
||||
|
||||
`defaults write com.apple.Dock expose-animation-duration -float 0.1`
|
||||
|
||||
- __[caution]__ delete all defaults of domain
|
||||
|
||||
`defaults delete {{domain}}`
|
Loading…
Add table
Reference in a new issue