# HG changeset patch # User Martin Geisler # Date 2009-05-24 21:53:28 # Node ID 704833724ff6dbcd02a77b09e54eb7207d2e5000 # Parent 94ca38e63576a1d42e1c29ecca36c1d335426dc4 zsh-comp: explain how to use for non-global install diff --git a/contrib/zsh_completion b/contrib/zsh_completion --- a/contrib/zsh_completion +++ b/contrib/zsh_completion @@ -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 #