From d17663914a1fd9068b097462fa4642f837c28212 Mon Sep 17 00:00:00 2001 From: wizarot Date: Tue, 26 Feb 2019 11:08:32 +0800 Subject: [PATCH] caffeinate: add Chinese translation --- pages.zh/osx/caffeinate.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages.zh/osx/caffeinate.md diff --git a/pages.zh/osx/caffeinate.md b/pages.zh/osx/caffeinate.md new file mode 100644 index 000000000..1b16ea0c6 --- /dev/null +++ b/pages.zh/osx/caffeinate.md @@ -0,0 +1,15 @@ +# caffeinate + +> 防止 Mac 进入休眠模式. + +- 防止进入休眠模式 , 1小时内(3600秒): + +`caffeinate -u -t {{3600}}` + +- 在指定命令执行完前,禁止进入休眠: + +`caffeinate -s {{命令}}` + +- 在你按 Ctrl-C 之前禁止进入休眠模式: + +`caffeinate -i`