From: Shohei YOSHIDA <syohex@gmail.com>
To: zsh-workers@zsh.org
Cc: Shohei YOSHIDA <syohex@gmail.com>
Subject: [PATCH 4/4] Update open completion
Date: Wed, 23 Aug 2023 13:00:04 +0900 [thread overview]
Message-ID: <20230823040004.171642-5-syohex@gmail.com> (raw)
In-Reply-To: <20230823040004.171642-1-syohex@gmail.com>
---
Completion/Darwin/Command/_open | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/Completion/Darwin/Command/_open b/Completion/Darwin/Command/_open
index 2563e5eb5..1e26dab0e 100644
--- a/Completion/Darwin/Command/_open
+++ b/Completion/Darwin/Command/_open
@@ -25,14 +25,20 @@ _open() {
'(: * -)--args[pass remaining arguments to application]:*:::argument' \
'(-a -b -e -f -R -t)-b+[specify application bundle identifier]: :->bundle-ids' \
'(-a -b -e -f -R -t)-e[open with TextEdit]' \
+ '*--env[add the environment variable of the launched application]:env value' \
'(-h)-f[open standard input with TextEdit or specified application]' \
'(-R)-F[open application with fresh state]' \
- '-g[do not bring application to foreground]' \
+ '(-j)-g[do not bring application to foreground]' \
'(-f)-h[open library header file]' \
+ '(-g)-j[launch the app hidden]' \
'(-R)-n[always open new instance of application]' \
'(-a -b -e -f -F -n -s -t -W --args)-R[reveal in Finder]' \
'(-R)-s+[specify SDK name/version]: :->sdks' \
+ '--stdin[launch the application with stdin connected to the given file]:file:_files' \
+ '--stdout[launch the application with stdout connected to the given file]:file:_files' \
+ '--stderr[launch the application with stderr connected to the given file]:file:_files' \
'(-a -b -e -f -R -t)-t[open with default text editor]' \
+ '-u[open URL with whatever application claims the url scheme]:url:_urls' \
'(-R)-W[wait for application to exit]' \
'(-f)*: :->files' \
&& ret=0
--
2.42.0
next prev parent reply other threads:[~2023-08-23 4:02 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-23 4:00 [PATCH 0/4] Update macOS command completions Shohei YOSHIDA
2023-08-23 4:00 ` [PATCH 1/4] Update system_profiler completion Shohei YOSHIDA
2023-08-25 4:56 ` Jun T
2023-08-25 5:24 ` Shohei Yoshida
2023-08-27 7:02 ` Shohei Yoshida
2023-08-25 5:11 ` Jun T
2023-08-23 4:00 ` [PATCH 2/4] Update sw_vers completion Shohei YOSHIDA
2023-08-25 5:01 ` Jun T
2023-08-25 5:29 ` Shohei Yoshida
2023-08-27 6:53 ` Shohei Yoshida
2023-08-23 4:00 ` [PATCH 3/4] Update otool completion Shohei YOSHIDA
2023-08-25 15:16 ` Jun. T
[not found] ` <CAFX6MONwMeWWVmUScwqq1zUiHhebF6+fhi3kvDk1pP=VR7y_oQ@mail.gmail.com>
[not found] ` <F45E2407-3AFA-4925-A247-98013FB3EEAF@kba.biglobe.ne.jp>
2023-08-28 2:32 ` Shohei Yoshida
2023-08-28 4:02 ` Jun T
2023-08-23 4:00 ` Shohei YOSHIDA [this message]
2023-08-25 16:07 ` [PATCH 4/4] Update open completion Jun. T
2023-08-27 7:18 ` Shohei Yoshida
[not found] ` <CAH+w=7Z3AKE4Z3EKN7j9Qh+0UPzJgWjibJ7LmqFQ5xN+QSr5Sw@mail.gmail.com>
2023-08-28 1:53 ` Jun. T
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230823040004.171642-5-syohex@gmail.com \
--to=syohex@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).