src/_postscriptToPDFCreator.sh
#compdef postscriptToPDFCreator.sh

local arguments

arguments=(
  '-g[run using GUI (like "gvim")]'
  '-f[or --nofork Foreground: Dont fork when starting GUI]'
  '-v[vi mode (like "vi")]'
  '-e[ex mode (like "ex")]'
  '-E[improved Ex mode]'
  '-s[silent (batch) mode (only for "ex")]'
  '-d[diff mode (like "vimdiff")]'
  '-y[easy mode (like "evim", modeless)]'
  '-R[readonly mode (like "view")]'
  '-Z[restricted mode (like "rvim")]'
  '-m[modifications (writing files) not allowed]'
  '-M[modifications in text not allowed]'
  '-b[binary mode]'
  '-l[lisp mode]'
  '-C[compatible with Vi: compatible]'
  '-N[not fully Vi compatible: nocompatible]'
  '-V[be verbose \[level N\] \[log messages to fname\]]'
  '-D[debugging mode]'
  '-n[no swap file, use memory only]'
  '-r[list swap files and exit]'
  '-r[file name) Recover crashed session]'
  '-L[same as -r]'
  '-A[start in Arabic mode]'
  '-H[start in Hebrew mode]'
  '-T[set terminal type to <terminal>]'
  '--not-a-term[skip warning for input/output not being a terminal]'
  '--ttyfail[exit if input or output is not a terminal]'
  '-u[use <vimrc> instead of any .vimrc]'
  '-U[use <gvimrc> instead of any .gvimrc]'
  '--noplugin[dont load plugin scripts]'
  '-p[open N tab pages (default: one for each file)]'
  '-o[open N windows (default: one for each file)]'
  '-O[like -o but split vertically]'
  '--cmd[execute <command> before loading any vimrc file]'
  '-c[execute <command> after loading the first file]'
  '-S[source file <session> after loading the first file]'
  '-s[read Normal mode commands from file <scriptin>]'
  '-w[append all typed commands to file <scriptout>]'
  '-W[write all typed commands to file <scriptout>]'
  '-x[edit encrypted files]'
  '--remote[edit <files> in a Vim server if possible]'
  '--remote-silent[same, dont complain if there is no server]'
  '--remote-wait[as --remote but wait for files to have been edited]'
  '--remote-wait-silent[same, dont complain if there is no server]'
  '--remote-tab[\[-wait\]\[-silent\] <files> As --remote but use tab page per file]'
  '--remote-send[send <keys> to a Vim server and exit]'
  '--remote-expr[evaluate <expr> in a Vim server and print result]'
  '--serverlist[list available Vim server names and exit]'
  '--servername[send to/become the Vim server <name>]'
  '--startuptime[write startup timing messages to <file>]'
  '-i[use <viminfo> instead of .viminfo]'
  '--clean[nocompatible, Vim defaults, no plugins, no viminfo]'
  '-h[or --help Print Help (this message) and exit]'
  '--version[print version information and exit]'
  '*:filename:_files'
)

_arguments -s $arguments
