From 3995ab9a304dba29edd08450aab7920b6abdf1e9 Mon Sep 17 00:00:00 2001 From: Sen Zhang Date: Sun, 26 May 2019 23:52:55 +0800 Subject: [PATCH] Add Cygwin specific tips `explorer` --- README-zh.md | 4 +++- README.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README-zh.md b/README-zh.md index 381397b..9fe1740 100644 --- a/README-zh.md +++ b/README-zh.md @@ -580,7 +580,9 @@ mkdir empty && rsync -r --delete empty/ some-dir && rmdir some-dir - 要访问 Windows 剪贴板,可以通过 `/dev/clipboard`。 -- 运行 `cygstart` 以通过默认程序打开一个文件。 +- 使用 `cygstart` 打开应用程序(例如 `cygstart calc` ),或通过默认程序打开一个文件或文件夹。 + +- 命令 `explorer` 与 `cygstart` 相似,但仅用于打开文件和文件夹,不包括应用程序。zsh命令行补全某些场合 `explorer` 效果比 `cygstart` 更好。 - 要访问 Windows 注册表,可以使用 `regtool`。 diff --git a/README.md b/README.md index 77d2444..8117231 100755 --- a/README.md +++ b/README.md @@ -592,7 +592,9 @@ These items are relevant *only* on Windows. - Access the Windows clipboard through `/dev/clipboard`. -- Run `cygstart` to open an arbitrary file through its registered application. +- Use `cygstart` to open aa application(for example `cygstart calc` ) or an arbitrary file/directory through its registered application. + +- Command `explorer` is similar to `cygstart` but only used in opening files or directories, not applications. `explorer` may be better than `cygstart` for zsh completion in some cases. - Access the Windows registry with `regtool`.