summaryrefslogtreecommitdiff
path: root/Completion/Darwin/Command/_open
diff options
context:
space:
mode:
authorShohei YOSHIDA <syohex@gmail.com>2023-08-28 13:12:50 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2023-08-28 13:12:50 +0900
commita8853323dd631ba26869ea6e0bf1b8098247731d (patch)
tree3f6d0f8b524e5334c85a716cc0700ec2befdfaf1 /Completion/Darwin/Command/_open
parent53fe16e9b52f44e2c9327901ef60b5a5a4384a96 (diff)
downloadzsh-a8853323dd631ba26869ea6e0bf1b8098247731d.tar.gz
zsh-a8853323dd631ba26869ea6e0bf1b8098247731d.zip
52098, 52099, 52100, 52105(+minor tweak): update for latest macOS
Diffstat (limited to 'Completion/Darwin/Command/_open')
-rw-r--r--Completion/Darwin/Command/_open8
1 files changed, 7 insertions, 1 deletions
diff --git a/Completion/Darwin/Command/_open b/Completion/Darwin/Command/_open
index 2563e5eb5..1c693dfb8 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_var=value:_parameters -g "*export*" -qS=' \
'(-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