D6574: zsh: enable completion support for chg as well

spectral (Kyle Lippincott) phabricator at mercurial-scm.org
Tue Jun 25 21:28:41 UTC 2019


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

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



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


More information about the Mercurial-devel mailing list