about summary refs log tree commit diff
path: root/Completion/X
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-01-23 21:29:39 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-01-23 21:29:39 +0000
commit8f5ae2b27b562b06e9c02140aef8b95c544b9cf5 (patch)
tree6ac4c2b05ad6fddfb4659415280b34cf848971a5 /Completion/X
parent94225e07fcc27f01edd4faee2391000f54a9aceb (diff)
downloadzsh-8f5ae2b27b562b06e9c02140aef8b95c544b9cf5.tar.gz
zsh-8f5ae2b27b562b06e9c02140aef8b95c544b9cf5.tar.xz
zsh-8f5ae2b27b562b06e9c02140aef8b95c544b9cf5.zip
28646: gi1242+zsh@gmail.com: new matlab completion
Diffstat (limited to 'Completion/X')
-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'