fork/fish-shell

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

EmilySeville7cfgSpecify program versions36699d49d

master
2.6 KiB54 linesraw
1# Completion for: MATLAB R2021b
2function __fish_matlabcheck_no_desktop_nodesktop_opts
3    not __fish_seen_argument --old desktop --old nodesktop
4    return $status
5end
6
7function __fish_matlabcheck_no_batch_r_opts
8    not __fish_seen_argument --old batch --short r
9    return $status
10end
11
12complete -c matlab -s h -l help -d 'Show help'
13
14# Mode options
15complete -c matlab -o desktop -n __fish_matlabcheck_no_desktop_nodesktop_opts -d 'Start without a controlling terminal'
16complete -c matlab -o nodesktop -n __fish_matlabcheck_no_desktop_nodesktop_opts -d 'Run the JVM software without opening the desktop'
17complete -c matlab -o nojvm -d 'Start without the JVM software'
18
19# Display options
20complete -c matlab -o noFigureWindows -d 'Disable the display of figure windows'
21complete -c matlab -o nosplash -d 'Don\'t display the splash screen during startup'
22complete -c matlab -o nodisplay -d 'Start the JVM software without starting desktop'
23complete -c matlab -o display -x -d 'Send X commands to X Window Server display xDisp'
24
25# Set initial working folder
26complete -c matlab -o sd -r -d 'Set the folder'
27complete -c matlab -o useStartupFolderPref -d 'Change the folder to the Initial working folder preference'
28
29# Debugging options
30complete -c matlab -o logfile -r -a '(__fish_complete_suffix .log)' -d 'Copy Command Window output into filename'
31complete -c matlab -s n -d 'Display the environment variables/arguments passed to the executable'
32complete -c matlab -s e -d 'Display all environment variables and their values to standard output'
33complete -c matlab -s Dgdb -x -d 'Start in debug mode'
34complete -c matlab -s Dlldb -x -d 'Start in debug mode'
35complete -c matlab -s Ddbx -x -d 'Start in debug mode'
36complete -c matlab -o jdb -x -d 'Enable use of the Java debugger'
37complete -c matlab -o debug -d 'Display information for debugging X-based problems'
38
39# Execute MATLAB script or function
40complete -c matlab -o batch -x -n __fish_matlabcheck_no_batch_r_opts -d 'Execute script, statement, or function non-interactively'
41complete -c matlab -s r -x -n __fish_matlabcheck_no_batch_r_opts -d 'Execute the statement'
42
43# Use single computational thread
44complete -c matlab -o singleCompThread -d 'Limit to a single computational thread'
45
46# Disable searching custom Java class path
47complete -c matlab -o nouserjavapath -d 'Disable use of javaclasspath.txt and javalibrarypath.txt files'
48
49# OpenGL library options
50complete -c matlab -o softwareopengl -d 'Force to start with software OpenGL libraries'
51complete -c matlab -o nosoftwareopengl -d 'Disable auto-selection of OpenGL software'
52
53# Specify license file
54complete -c matlab -s c -r -d 'Use the specified license file'