comparison contrib/zsh_completion @ 8616:704833724ff6

zsh-comp: explain how to use for non-global install
author Martin Geisler <mg@lazybytes.net>
date Sun, 24 May 2009 23:53:28 +0200
parents 21009e85ee78
children c963d49ac7a1
comparison
equal deleted inserted replaced
8615:94ca38e63576 8616:704833724ff6
1 #compdef hg 1 #compdef hg
2 2
3 # Zsh completion script for mercurial. Rename this file to _hg and copy 3 # Zsh completion script for mercurial. Rename this file to _hg and copy
4 # it into your zsh function path (/usr/share/zsh/site-functions for 4 # it into your zsh function path (/usr/share/zsh/site-functions for
5 # instance) 5 # instance)
6 #
7 # If you do not want to install it globally, you can copy it somewhere
8 # else and add that directory to $fpath. This must be done before
9 # compinit is called. If the file is copied to ~/.zsh.d, your ~/.zshrc
10 # file could look like this:
11 #
12 # fpath=("$HOME/.zsh.d" $fpath)
13 # autoload -U compinit
14 # compinit
6 # 15 #
7 # Copyright (C) 2005-6 Steve Borho 16 # Copyright (C) 2005-6 Steve Borho
8 # Copyright (C) 2006-8 Brendan Cully <brendan@kublai.com> 17 # Copyright (C) 2006-8 Brendan Cully <brendan@kublai.com>
9 # 18 #
10 # This is free software; you can redistribute it and/or modify it under 19 # This is free software; you can redistribute it and/or modify it under