about summary refs log tree commit diff
path: root/Completion/Darwin
diff options
context:
space:
mode:
authordana <dana@dana.is>2018-12-17 14:49:33 -0600
committerdana <dana@dana.is>2018-12-17 14:49:33 -0600
commit43247252ddeedcf3955b030f2c77064089581cb0 (patch)
tree1775341f8fb89fdd992609c448a9d1c4d6bbf4d2 /Completion/Darwin
parentf8864ac0c8bf2bbe9af9ed70973d7f9fd37d38b2 (diff)
downloadzsh-43247252ddeedcf3955b030f2c77064089581cb0.tar.gz
zsh-43247252ddeedcf3955b030f2c77064089581cb0.tar.xz
zsh-43247252ddeedcf3955b030f2c77064089581cb0.zip
43897: Add/update various completion functions
* Update tail to support -q/-v on NetBSD
* Add several new functions (with one change needed to _hosts compdefs)
Diffstat (limited to 'Completion/Darwin')
-rw-r--r--Completion/Darwin/Command/_xcode-select10
1 files changed, 10 insertions, 0 deletions
diff --git a/Completion/Darwin/Command/_xcode-select b/Completion/Darwin/Command/_xcode-select
new file mode 100644
index 000000000..a24b1a6f2
--- /dev/null
+++ b/Completion/Darwin/Command/_xcode-select
@@ -0,0 +1,10 @@
+#compdef xcode-select
+
+# No -s, no -o+ form options
+_arguments : \
+  '(-)'{-h,--help}'[display help information]' \
+  '(-)'{-v,--version}'[display version information]' \
+  '(-)--install[install command-line developer tools]' \
+  '(-)'{-p,--print-path}'[display path of active developer directory]' \
+  '(-)'{-r,--reset}'[reset to default developer directory]' \
+  '(-)'{-s,--switch}'[specify path of active developer directory]:developer directory:_files -/'