mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 21:55:33 +02:00
defaults: add Chinese translation
This commit is contained in:
parent
f014ec2405
commit
600af0ce33
1 changed files with 23 additions and 0 deletions
23
pages.zh/osx/defaults.md
Normal file
23
pages.zh/osx/defaults.md
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# defaults
|
||||||
|
|
||||||
|
> 读取和写入macOS应用程序的用户配置.
|
||||||
|
|
||||||
|
- 读取应用程序选项的系统默认值:
|
||||||
|
|
||||||
|
`defaults read {{应用名}} {{选项}}`
|
||||||
|
|
||||||
|
- 读取应用程序选项的默认值:
|
||||||
|
|
||||||
|
`defaults read -app {{应用名}} {{选项}}`
|
||||||
|
|
||||||
|
- 写入应用程序选项的默认值:
|
||||||
|
|
||||||
|
`defaults write {{应用名}} {{选项}} {{-类型}} {{值}}`
|
||||||
|
|
||||||
|
- 加速任务控制界面弹出动画 (时间设置为0.1):
|
||||||
|
|
||||||
|
`defaults write com.apple.Dock expose-animation-duration -float 0.1`
|
||||||
|
|
||||||
|
- 删除应用程序的所有默认值:
|
||||||
|
|
||||||
|
`defaults delete {{应用名}}`
|
Loading…
Add table
Reference in a new issue