Mercurial > hg-stable
changeset 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 | 94ca38e63576 |
children | 7af21dfae9d5 |
files | contrib/zsh_completion |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/zsh_completion Sun May 24 22:37:20 2009 +0200 +++ b/contrib/zsh_completion Sun May 24 23:53:28 2009 +0200 @@ -4,6 +4,15 @@ # it into your zsh function path (/usr/share/zsh/site-functions for # instance) # +# If you do not want to install it globally, you can copy it somewhere +# else and add that directory to $fpath. This must be done before +# compinit is called. If the file is copied to ~/.zsh.d, your ~/.zshrc +# file could look like this: +# +# fpath=("$HOME/.zsh.d" $fpath) +# autoload -U compinit +# compinit +# # Copyright (C) 2005-6 Steve Borho # Copyright (C) 2006-8 Brendan Cully <brendan@kublai.com> #