Commit Graph

66 Commits

Author SHA1 Message Date
Augie Fackler
dfc3978483 zsh completion: fix error in qfinish completions from 584f7a076523
The actual flag is --applied, not --all.
2012-03-31 15:39:44 -05:00
Augie Fackler
551016898f zsh completion: add support for qfinish 2011-12-12 11:54:22 -06:00
Ben Hockey
9ffafb4321 contrib: some support for named branches in zsh_completion (issue2988)
named branches were not included for autocompletion in zsh.  by adding
_hg_branches and calling it from _hg_labels, named branches are now included
when autocompleting many commands in zsh.  support for completion of hg log -b
was also added.  there are possibly other cases where support needs to be
explicitly added.
2011-09-07 10:24:26 -04:00
Martin Geisler
950ba1a21f zsh completion: remove computed default values from help texts
The default encoding and encoding mode are computed at runtime and can
vary from system to system. The two remaining default values in the
completion help texts (number of directories to strip on import and
default bundle name) are fixed in the source code.
2011-03-08 11:01:01 +01:00
Augie Fackler
790d2fac2d zsh completion: complete bookmarks where they are accepted
This used to work because bookmarks were pseudo-tags, but broke
once bookmarks became their own first-class object.
2011-02-28 19:15:08 -06:00
Brendan Cully
fc79a72f03 zsh completion: bookmarks support 2010-09-05 13:37:17 -07:00
Brendan Cully
94254d16e4 zsh completion: patchbomb support 2010-09-04 01:32:01 -07:00
Yuya Nishihara
3cdd1e55b0 zsh completions: add qpush --move option 2010-08-07 15:32:33 +09:00
Brodie Rao
bfa13e8d9a bash/zsh completion: use HGPLAIN when invoking hg (issue2297) 2010-07-21 17:06:00 -04:00
timeless@mozdev.org
4cd821593d commands: Try to improve help options text for basic commands
Mostly rewrite -r text
2009-11-20 14:37:36 +02:00
Martin Geisler
24f2c1af20 setup: backout 47cfa8aa4b94
We decided that it is better to let the distributions install these
files themselves since they know where to put them.
2009-12-10 22:26:09 +01:00
Dan Villiom Podlaski Christiansen
a6c07a0720 setup: install some useful data files.
The selection is somewhat arbitrary. In the case of the Zsh completion
file, it will not conflict with the builtin Zsh completions: they
are in a file named `_mercurial', not `_hg'.
2009-11-30 21:54:34 +01:00
Brendan Cully
c66c7e7f6e zsh completion: add summary 2009-11-24 11:20:25 -08:00
Brendan Cully
18d0727ce3 zsh completion: update bisect for builtin syntax 2009-06-30 19:23:50 -07:00
Brendan Cully
1ad5037a50 zsh completion: add hg branch 2009-06-30 18:47:16 -07:00
Brendan Cully
c6f44d1bc6 zsh completion: add hg branches 2009-06-30 18:45:09 -07:00
Brendan Cully
adcf3f9f6d zsh completion: basic merge support 2009-06-30 18:41:43 -07:00
Brodie Rao
cc7929d81c zsh completion: disable defaults and verbose output when completing
If ui.verbose is set to True in hgrc, commands used to provide completions
would yield bad results. For example, qpush completion would include the
patch numbers and statuses as returned by qunapplied -v, instead of just
the patch names.

Defaults are also disabled when completing to prevent similar issues when
an option is set that changes a command's output.
2009-06-30 17:58:17 -04:00
Brendan Cully
76c4e9d8bc zsh completion: include guarded patches in qdelete 2009-06-30 14:31:16 -07:00
Brendan Cully
1743b600cb Relicense zsh completion script under zsh license.
Steve agreed some time ago.
2009-06-29 09:32:06 -07:00
Martin Geisler
6ab8a62f66 zsh-comp: explain how to use for non-global install 2009-05-24 23:53:28 +02:00
Brendan Cully
9ef554dbfb Update zsh completion to use debugcomplete -v instead of parsing help 2008-12-04 11:21:31 -08:00
Brendan Cully
246275eed2 Update zsh completion for new help format 2008-12-03 22:01:34 -08:00
Brendan Cully
662347033e zsh: make resolve with no options only complete unresolved files 2008-11-17 11:45:38 -08:00
Brendan Cully
61a488c351 zsh: support for resolve 2008-11-16 19:49:36 -08:00
byron@base2.cc
5bb9254434 Added missing --config global option to zsh_completion.
The global options --encoding and --encodingmode where also added.
Without these options some functionality breaks.  Also added basic
completion for config items for the --config option.
2008-07-03 20:53:14 -07:00
Nicholas Riley
05afc88692 [PATCH] zsh_completion tag/mq fixes
Been using these for almost a month now without problems, so I figured
some other people might want them.

This allows the zsh completion to work with tags and mq patch names
containing spaces, and adds support for qgoto.
2008-01-18 08:23:29 -06:00
Brendan Cully
04f2479b21 Updated zsh completion from issue722. 2007-09-14 21:47:40 -07:00
Henri Precheur
0b652b63b3 Fix issue 563: error in _hg_commit in the contrib/zsh_completion script. 2007-05-20 19:27:14 +02:00
Steve Borho
8cbd4afec6 zsh: better fix for partial completions
Properly handle relative paths followed by partial filenames
hg add ../path/to/file/partial[TAB]
2006-12-12 15:34:11 -06:00
Steve Borho
d806171a31 zsh: fix completions with relative paths
hg add ../foo/bar[TAB] now does what you expect
2006-12-05 21:35:44 -06:00
Steve Borho
15166b0318 zsh: remove deprecated -f option for hg update 2006-12-05 21:30:04 -06:00
Brendan Cully
4a565c90ea zsh: typo in commit completion 2006-11-09 14:44:17 -08:00
Brendan Cully
b15461036c zsh: perform ~ expansion on _hg_root 2006-10-31 17:31:30 -08:00
Brendan Cully
7f54c1d0b4 zsh: compute repository root instead of forking hg 2006-10-31 16:35:44 -08:00
Brendan Cully
9da5f91c89 zsh: complete users in ssh URLS 2006-10-31 16:04:03 -08:00
Brendan Cully
cd778eadd0 zsh: support remote cloning 2006-10-31 15:48:02 -08:00
Brendan Cully
9bbafade7a zsh: add optional remote directory cache 2006-10-31 15:44:16 -08:00
Brendan Cully
3119807ae3 zsh: complete SSH directories 2006-10-31 14:53:08 -08:00
Brendan Cully
131b2b2643 zsh: complete unknown commands normally 2006-10-31 12:05:47 -08:00
Brendan Cully
2e3c2f2949 zsh: tab-complete status results by directory
Filter diff and revert for modified files only, unless -r is given.
2006-10-30 00:03:04 -08:00
Brendan Cully
3606bc94d5 zsh: support remote URLs 2006-10-26 22:28:33 -07:00
Brendan Cully
01eda2914c zsh: suppress mq completion error messages outside of repository 2006-10-26 17:33:24 -07:00
Brendan Cully
726d081e93 zsh: suppress error message for status completion outside of repository 2006-10-26 17:28:12 -07:00
Brendan Cully
dccb39e75b zsh: add revrange completion 2006-10-26 10:06:12 -07:00
Brendan Cully
ab95045857 zsh: add qbase and qtip to qapplied completions 2006-10-26 09:46:08 -07:00
Brendan Cully
ddd5d9ba9a zsh: use standard tags where possible 2006-10-26 09:44:03 -07:00
Brendan Cully
f1af57026d zsh: complete qguard with +/- guard prefixes 2006-10-26 00:27:19 -07:00
Brendan Cully
a134cc7992 zsh: complete qapplied, qdiff, qfold, qguard, qimport, qnext, qprev
as well as qrename, qselect, qseries, qunapplied and qtop.
2006-10-25 19:31:42 -07:00
Brendan Cully
bb5f04c914 zsh: make option lists more compact 2006-10-25 16:35:35 -07:00