home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / ap / zsh / zsh-2.4 / zsh-2 / zsh-2.4.306 / help / alias next >
Text File  |  1993-10-09  |  1KB  |  25 lines

  1.        alias [ -grm ] [ name[=value] ] ...
  2.               With no arguments, print the list of aliases in the
  3.               form name=value on the standard output.   For  each
  4.               name  with  a  corresponding value, define an alias
  5.               with that value.  A trailing space in value  causes
  6.               the next word to be checked for alias substitution.
  7.               If the -g flag is present, define a  global  alias;
  8.               global  aliases  are  expanded  even if they do not
  9.               occur in command position.  For each name  with  no
  10.               value,  print  the  value of name, if any.  If only
  11.               the -g or the -r flags are  given  only  global  or
  12.               regular aliases are listed. If the -m flag is given
  13.               the arguments are taken as patterns (they should be
  14.               quoted  to  preserve them from being interpreted as
  15.               glob patterns) and the aliases matching these  pat-
  16.               terns are printed.  The exit status is nonzero if a
  17.               name (with no value) is given for  which  no  alias
  18.               has been defined.
  19.  
  20.        unalias [ -m ] name ...
  21.               The  alias  definition,  if  any,  for each name is
  22.               removed.  With the -m flag the arguments are  taken
  23.               as patterns (should be quoted) and all aliases with
  24.               matching names are removed.
  25.