contrib/zsh_completion
changeset 8961 c963d49ac7a1
parent 8616 704833724ff6
child 8980 6d5dca8737b9
equal deleted inserted replaced
8960:8a5657ecdaaf 8961:c963d49ac7a1
    11 #
    11 #
    12 # fpath=("$HOME/.zsh.d" $fpath)
    12 # fpath=("$HOME/.zsh.d" $fpath)
    13 # autoload -U compinit
    13 # autoload -U compinit
    14 # compinit
    14 # compinit
    15 #
    15 #
    16 # Copyright (C) 2005-6 Steve Borho
    16 # Copyright (C) 2005, 2006 Steve Borho <steve@borho.org>
    17 # Copyright (C) 2006-8 Brendan Cully <brendan@kublai.com>
    17 # Copyright (C) 2006, 2007, 2008 Brendan Cully <brendan@kublai.com>
    18 #
    18 #
    19 # This is free software; you can redistribute it and/or modify it under
    19 # Permission is hereby granted, without written agreement and without
    20 # the terms of the GNU General Public License as published by the Free
    20 # licence or royalty fees, to use, copy, modify, and distribute this
    21 # Software Foundation; either version 2 of the License, or (at your
    21 # software and to distribute modified versions of this software for any
    22 # option) any later version.
    22 # purpose, provided that the above copyright notice and the following
       
    23 # two paragraphs appear in all copies of this software.
       
    24 #
       
    25 # In no event shall the authors be liable to any party for direct,
       
    26 # indirect, special, incidental, or consequential damages arising out of
       
    27 # the use of this software and its documentation, even if the authors
       
    28 # have been advised of the possibility of such damage.
       
    29 #
       
    30 # The authors specifically disclaim any warranties, including, but not
       
    31 # limited to, the implied warranties of merchantability and fitness for
       
    32 # a particular purpose.  The software provided hereunder is on an "as
       
    33 # is" basis, and the authors have no obligation to provide maintenance,
       
    34 # support, updates, enhancements, or modifications.
    23 
    35 
    24 emulate -LR zsh
    36 emulate -LR zsh
    25 setopt extendedglob
    37 setopt extendedglob
    26 
    38 
    27 local curcontext="$curcontext" state line
    39 local curcontext="$curcontext" state line