summary refs log tree commit diff
path: root/Completion/X/Command/_sublimetext
blob: 1243d2779530b21d8f59f13777976128ec5a1867 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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'