Patchwork D6574: zsh: enable completion support for chg as well

login
register
mail settings
Submitter phabricator
Date June 25, 2019, 9:28 p.m.
Message ID <differential-rev-PHID-DREV-ramaqw7lcau7tsz7ehi5-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/40674/
State Superseded
Headers show

Comments

phabricator - June 25, 2019, 9:28 p.m.
spectral created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  When verifying this change, you may need to clear/rebuild the completion cache;
  I did this by deleting the ~/.zcompdump file and then starting a new shell.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6574

AFFECTED FILES
  contrib/zsh_completion

CHANGE DETAILS




To: spectral, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/contrib/zsh_completion b/contrib/zsh_completion
--- a/contrib/zsh_completion
+++ b/contrib/zsh_completion
@@ -1,4 +1,4 @@ 
-#compdef hg
+#compdef hg chg
 
 # Zsh completion script for mercurial.  Rename this file to _hg and copy
 # it into your zsh function path (/usr/share/zsh/site-functions for