[PATCH] zsh_completion: make use of `debuglabelcomplete` command

Nikolaj Sjujskij sterkrig at myopera.com
Fri Apr 12 12:04:49 CDT 2013


> # HG changeset patch
> # User Nikolaj Sjujskij <sterkrig at myopera.com>
> # Date 1365425498 -14400
> #      Mon Apr 08 16:51:38 2013 +0400
> # Node ID 35111d556de83375db9b5a5231e95c0df925fab3
> # Parent  8c0a7eeda06d2773ec92b14527280db3e0167588
> zsh_completion: make use of `debuglabelcomplete` command
  If anyone wants to test the patch (or rather file in crew, thanks to  
Bryan), here's how I do it.

# Setting up (once):
  % mkdir ~/tmp/zsh-completion
  % ln -s `pwd`/contrib/zsh_completion ~/tmp/zsh-completion/_hg

# Enabling this directory as a completion path (once per testing session):
  % fpath=(~/tmp/zsh-completion $fpath)

# Reloading function after editing or something:
  % unfunction _hg; autoload -U _hg


More information about the Mercurial-devel mailing list