summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/X/Command/.distfiles1
-rw-r--r--Completion/X/Command/_matlab19
2 files changed, 20 insertions, 0 deletions
diff --git a/Completion/X/Command/.distfiles b/Completion/X/Command/.distfiles
index 925ca5257..6be67ff88 100644
--- a/Completion/X/Command/.distfiles
+++ b/Completion/X/Command/.distfiles
@@ -6,6 +6,7 @@ _gnome-gv
 _gqview
 _gv
 _kfmclient
+_matlab
 _mozilla
 _mplayer
 _nautilus
diff --git a/Completion/X/Command/_matlab b/Completion/X/Command/_matlab
new file mode 100644
index 000000000..64d076f43
--- /dev/null
+++ b/Completion/X/Command/_matlab
@@ -0,0 +1,19 @@
+#compdef matlab
+
+_arguments : \
+    {-h,-help}'[Display arguments.]' \
+    '(-e)-n[Display final environment variables, and exit]' \
+    '(-n)-e[Display ALL the environment variables and values, and exit]' \
+    '-arch[Start MATLAB assuming architecture arch]:architecture:' \
+    '-c[Set location of the license file]:licensefile:_files' \
+    '(-nodisplay)-display:display:_x_display' \
+    '(-display)-nodisplay[Do not display any X commands.]' \
+    '-nosplash[Do not display the splash screen during startup.]' \
+    '-mwvisual[The default X visual to use for figure windows.]:visualid:' \
+    '-debug[Provide debugging information especially for X based problems.]' \
+    '(-nodesktop -nojvm)-desktop[Allow the MATLAB desktop to be started by a process without a controlling terminal.]' \
+    '(-desktop -nojvm)-nodesktop[Do not start the MATLAB desktop.]' \
+    '(-nodesktop -desktop)-nojvm[Shut off all Java support by not starting the Java virtual machine.]' \
+    '-r[Start MATLAB and execute the MATLAB_command.]:MATLAB_command:' \
+    '-logfile[Make a copy of any output to the command window in file log.]:log file:' \
+    '-D-:debugger:_path_commands'