From 8f5ae2b27b562b06e9c02140aef8b95c544b9cf5 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 23 Jan 2011 21:29:39 +0000 Subject: 28646: gi1242+zsh@gmail.com: new matlab completion --- Completion/X/Command/.distfiles | 1 + Completion/X/Command/_matlab | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 Completion/X/Command/_matlab (limited to 'Completion/X/Command') 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' -- cgit 1.4.1