summary refs log tree commit diff
path: root/Completion/X
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/X')
-rw-r--r--Completion/X/Command/_sublimetext13
1 files changed, 13 insertions, 0 deletions
diff --git a/Completion/X/Command/_sublimetext b/Completion/X/Command/_sublimetext
new file mode 100644
index 000000000..1243d2779
--- /dev/null
+++ b/Completion/X/Command/_sublimetext
@@ -0,0 +1,13 @@
+#compdef subl
+
+_arguments -s -S : \
+  '(-a -n --add --new-window)'{-a,--add}'[add to current window]' \
+  '(-b --background)'{-b,--background}"[don't activate application]" \
+  '--command[run specified command]:command' \
+  '(: -)'{-h,--help}'[display help information]' \
+  '(-a -n --add --new-window)'{-n,--new-window}'[open new window]' \
+  '--project[load specified project]:project file:_files' \
+  '(-s --stay)'{-s,--stay}'[keep application activated]' \
+  '(: -)'{-v,--version}'[display version information]' \
+  '(-w --wait)'{-w,--wait}'[wait for files to close]' \
+  '*:file or directory:_files'