# Style sheet for zsh
# Copyright (c) 1995-2000 Akim Demaille, Miguel Santana
#

#
# This file is part of a2ps.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING.  If not, write to
# the Free Software Foundation, 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
#

## 1.2 Akim Demaille
# Inherit sh.ssh

style "Z Shell" is
version is 1.3

ancestors are
  sh
end ancestors

documentation is
  "Zsh is a UNIX command interpreter (shell) usable as an interactive"
  "login shell and as a shell script command processor.  Of the standard"
  "shells, zsh most closely resembles ksh but includes many enhancements."
  "Zsh has comand line editing, builtin spelling correction, programmable"
  "command completion, shell functions (with autoloading), a history"
  "mechanism, and a host of other features."
  ""
  "This style sheet highlights some classical program names and builtins"
  "in the second level of pretty-printing."
end documentation

keywords in Keyword_strong are
  alias, autoload, bg, bindkey, builtin, bye, chdir, compctl,
  declare, dirs, disable, disown, echotc, emulate, enable, false, fc,
  fg, functions, getln, getopts, hash, history, integer, jobs, kill,
  let, limit, local, log, logout, popd, print, pushd, pushln, pwd, r,
  read, readonly, rehash, return, sched, setopt, suspend, test,
  times, true, ttyctl, typeset, ulimit, unalias, unfunction, unhash,
  unlimit, unsetopt, vared, wait, whence, where, which, noglob,
  nocorrect, command, foreach, "end", repeat, select, function, time,
  coproc
end keywords

optional keywords are
  && \wedge,
  || \vee,
  ^^ \oplus,
  != \neq,
  == \equiv,
  <= \leq,
  >= \geq
end keywords

optional operators are
  ! \not
end operators

sequences are
   "#" Comment,
   C-string,
   C-char
end sequences

end style
