fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Fabian HomborgReformat completion scriptsce245704d

master
1.8 KiB32 linesraw
1# Sublime Text build 3142
2
3# Usage: subl [arguments] [files]         edit the given files
4#    or: subl [arguments] [directories]   open the given directories
5#    or: subl [arguments] -               edit stdin
6
7# Arguments:
8#   --project <project>: Load the given project
9#   --command <command>: Run the given command
10#   -n or --new-window:  Open a new window
11#   -a or --add:         Add folders to the current window
12#   -w or --wait:        Wait for the files to be closed before returning
13#   -b or --background:  Don't activate the application
14#   -s or --stay:        Keep the application activated after closing the file
15#   -h or --help:        Show help (this message) and exit
16#   -v or --version:     Show version and exit
17
18# --wait is implied if reading from stdin. Use --stay to not switch back
19# to the terminal when a file is closed (only relevant if waiting for a file).
20
21# Filenames may be given a :line or :line:column suffix to open at a specific
22# location.
23
24complete -c subl --long-option project --require-parameter -d "Load the given project"
25complete -c subl --long-option command --require-parameter -d "Run the given command"
26complete -c subl --short-option n --long-option new-window -d "Open a new window"
27complete -c subl --short-option a --long-option add --require-parameter -d "Add folders to the current window"
28complete -c subl --short-option w --long-option wait -d "Wait for the files to be closed before returning"
29complete -c subl --short-option b --long-option background -d "Don't activate the application"
30complete -c subl --short-option s --long-option stay -d "Keep the application activated after closing the file"
31complete -c subl --short-option h --long-option help --exclusive -d "Show help and exit"
32complete -c subl --short-option v --long-option version --exclusive -d "Show version and exit"