1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-10 12:40:58 +02:00
Commit graph

1323 commits

Author SHA1 Message Date
Koen Wilde
7d5db0d277 32863: completion for mpc insert command 2014-07-15 19:32:05 +01:00
Vincent Lefevre
d5886eb3ed 32818: gzip completion: --rsyncable option is missing
Debian's gzip version has a --rsyncable option (see "gzip --help"
output, the man page not being currently up to date). It should be
supported by "/usr/share/zsh/functions/Completion/Unix/_gzip".

Initially submitted to Debian at https://bugs.debian.org/702000
2014-07-04 00:48:12 +02:00
Mikael Magnusson
8088a453b4 32821: Update _gcc as of GCC 4.8.3 for generic options and x86 2014-07-03 23:57:35 +02:00
Jun T
d13c6dc441 32833: complete Python and Ruby arguments as for Perl 2014-07-03 22:55:42 +01:00
Jun T
c8e5be9d0f 32823: complete file instead of Perl script after - 2014-06-30 20:07:04 +01:00
Andrew Magee
605cc1ba57 19939: hg committable files 2014-06-06 21:51:17 +01:00
Barton E. Schaefer
f5ad1ccbd6 32653: complete files with the ".phar" extension as well as ".php"
Also respect the suffixes zstyle to change the extensions
2014-06-01 15:21:13 -07:00
Peter Stephenson
5554cf8244 users/18860: man -M overrides manpath 2014-05-29 21:39:02 +01:00
Sebastien Alaiwan
7b1b1dbb45 32562: updates for bzr completion 2014-04-23 16:18:01 +01:00
llua
fe40b9c2a3 complete zfs ... -o multiple times 2014-04-06 16:57:48 +01:00
Danek Duvall
4dfe62640a 32505: improved Solaris compatibility for pgrep completion 2014-03-28 20:24:16 +00:00
m0viefreak
cd2eb07a78 m0viefreak: users/18655,18657,18660: assorted auto-removable suffix fixes
Src/Zle/compresult.c, Src/Zle/zle_misc.c, Src/Zle/zle_refresh.c: fix
auto-removable suffix highlighting

Completion/Unix/Command/_git: fix compadd for auto-removable suffix in
_git_commit_ranges and _git_stash
2014-03-23 13:02:12 -07:00
Takeshi Banse
ab917d4a0e 32502: fix typo in argument list for git completio 2014-03-21 19:42:02 +00:00
Peter Stephenson
fd4ac0a8c2 unposted: in Perforce path completion complete depots after // 2014-03-20 09:35:18 +00:00
Kosuke Asami
89c2342dd8 32471: tidy up pgrep completion 2014-03-13 20:03:56 +00:00
Kosuke Asami
d91732acba 32471: handle BSD process management in pgrep completion 2014-03-13 20:02:53 +00:00
Kosuke Asami
de68b6bbf1 32472: new pgrep completion options 2014-03-13 20:01:15 +00:00
Peter Stephenson
f798f13b0e Fix merge conflict 2014-02-28 18:45:35 +00:00
Jun T
7d7242405a 32435: improved quoting for ignore-line completion style 2014-02-26 20:39:11 +00:00
Oliver Kiddle
079540cc78 users/18485: add .. as an auto-removable suffix in git revision ranges 2014-02-25 08:59:20 +01:00
Hong Xu
e5b55ebf45 Fix outdated npm completion 2014-02-24 09:32:01 +00:00
Sebastien Alaiwan
afe7ff6b5d 32642: improve bzr completion with directory path 2014-02-24 09:30:04 +00:00
m0viefreak
b97808fba2 32398: _git: completion updates up to latest git v1.9.0
- cherry-pick: allow commit ranges to be specified
- push: option is called --set-upstream and not --set-upstream-to
- status: offer -b,--branch when --porcelain or -z are given
  --porcelain and -z don't show the branch info by default, so it
  is needed to offer --branch for those options, too.
- checkout: add '--detach' option
- checkout: offer '-l' option when '--orphan' was given
- show-ref: update wording of --head and --heads according to man-page
- config: update default value for color.ui
  color-bool was changed to accept a default value as $parts[5]
- add support for 'cygstart' as a valid builtin browser on cygwin
- rebase: add suuport for --autostash and config.autostash
- update builtin browser list
- grep: add --{no,}textconv
- check-ignore: add --no-index
- update-ref: add --stdin -z
- add -C
- pull: add support for --rebase=preserve
- config: add support for http.*. options
- blame: -L can be given multiple times
- config: add support for http.savecookies
- push: add support for --force-with-lease
- diff: --diff-filter: allow lower-case variants (all-but ... specs)
- config: add support for 'fetch.prune' and 'remote.*.prune'
- check-ignore: -z: update message, check-attr: add -z
- config: add diff.orderfile
- revision options: add --exclude
- revision options: add --ignore-missing
- revision options: add --bisect
- rev-parse: add --stuck-long
- merge-base: add --fork-point
- config: implement submodule.*.update completion
- send-email: add --smtp-ssl-cert-path and config options
2014-02-18 12:22:21 +01:00
m0viefreak
f8e874ef9d 32397: _git: fix __git_submodules to only use the actual name of the submodule
The output of 'submodule status' is

Xsha1 name (describe)

X being one of -,+,U,[space]

We are only interested in the name part and not the whole line.

Fix the parameter expansions accordingly.
2014-02-18 12:22:21 +01:00
m0viefreak
139ee0e351 32395: _git: diff: refactor and fix wrong completions
Before this, there were several cases where the completion
would offer the wrong things:

$ git diff branch -- <tab>

would try to complete "changed in workdir files", but needs to
complete all "tree files in HEAD".

$ git diff --cached -- file1 file2 <tab>
would try to complete "changed in workdir files" but needs to
complete "changed in index files".

...

After this change all possible combinations are taken into
account and completion should work properly.
2014-02-18 12:22:16 +01:00
m0viefreak
946a99a0b3 32396: _git: fix __git_committish_range_{first,last} and __git_is_committish_range
- Ranges with 3 dots would always fail, because the non-greedy
  expansion  %..(.|)* in __git_committish_range_first would only
  remove '..' and never three dots. 'a...b' would end up in 'a.'.
  Use ${${1%..*}%.} instead.
- Use a similar approach for __git_committish_range_last.
- Wrap them in another expansion to replace empty results with 'HEAD'.
  Git man-page states omitted range ending are being replaced with
  HEAD. This rule has to be followed to make completions like
  'git log foo.. -- <tab>' work properly.
- Add an additional check to make sure none of the extracted first/last
  parts contain additional '..' in invalied ranges such as 'a..b..c'.
  This gets rid of the 'TODO:' and ideally saves a few unneded
  calls to git rev-parse.
2014-02-18 12:19:23 +01:00
Jun T
1531d0463c 32300: new od completion 2014-01-30 15:53:47 +00:00
Christian Hesse
0ab7834a15 32316: complete new ssh key type 2014-01-29 09:24:54 +00:00
Barton E. Schaefer
a2098b0b26 users/18368: compromise to restore partial path completion inadvertently removed by 31159 2014-01-27 21:54:13 -08:00
Peter Stephenson
ff74ffb0f3 32255: complet for python under some pythonN.M names 2014-01-14 15:44:49 +00:00
Koen Wilde
8fd6d5766c 32245: complete more mpc arguments 2014-01-10 22:26:30 +00:00
Mark Oteiza
3267b454d8 32238: suppress error output completing after ip 2014-01-07 19:25:32 +00:00
Jun T
ff650ada05 32231: _chmod was confused by options before the mode 2014-01-05 18:04:15 +00:00
Danek Duvall
ef2eaf1f78 32261: completion updates for Solaris 11, Update 1 2014-01-02 22:26:04 +00:00
Jun T
82cf0f5940 32056: Handle completion for different versions of iconv 2013-12-09 10:31:49 +00:00
Hong Xu
567b494033 32069: completion for "git submodule update --remote" 2013-11-30 12:46:19 -08:00
Peter Stephenson
4163ebf4c7 unposted, see 32054: Rationalise character encoding.
Shell functions are strictly ASCII for maximum portability.

Other files within the distribution may contain UTF-8 characters.

Exception for test files: where they need single character input
with the top bit set, ISO-8859-X is used (X doesn't matter as
we don't need the Euro).
2013-11-27 15:56:44 +00:00
Peter Stephenson
7423ac14e5 unposted, see 32050, 32051: remove non-ASCII characters in functions 2013-11-25 16:11:10 +00:00
Peter Stephenson
412116e02b unposted: Prepare 5.0.2-test-2. 2013-11-25 11:07:47 +00:00
Jun T
42fabadc35 31984: new df completion 2013-11-14 15:10:57 +00:00
Jun T
973f8491ed 31909: new cat completion 2013-10-27 16:38:24 +00:00
Øystein Walle
95a5ca90d9 31865: _git: Make --batch(-check) accept an argument
Also reword the explanation slightly to make it more compact since more
explanation is needed.
2013-10-21 17:40:13 +02:00
Øystein Walle
3d77fa789d 31864: _git: Add two sub-comamnds introduced in v1.8.4
Add _git-check-ignore() and _git-check-mailmap()
2013-10-21 17:40:12 +02:00
Øystein Walle
32ffba1214 31866: _git: Reword --heads to match new meaning 2013-10-21 17:40:09 +02:00
Øystein Walle
baee0a2295 31862: _git: Add status.short and status.branch 2013-10-21 17:40:07 +02:00
Øystein Walle
805b665901 31863: _git: Add new arguments introduced in Git v1.8.4 2013-10-21 17:40:03 +02:00
Øystein Walle
e91d90125b 31861: _git: Add git-clean -i/--interactive support
- Add -i and --interactive to _git-clean()
 - Add column.clean configuration variable
2013-10-21 17:40:01 +02:00
m0viefreak
7a37568b8c 31855: _git: revert: add '-e,--edit' 2013-10-21 17:39:59 +02:00
m0viefreak
2c1affc6c1 31856: _git: fix a few "undocumented" options
commit: '--null' is documented
relink: '-h,--help' are never documented for subcommands but always exist
verify-tag: '-v,--verbose' are documented with updated description
diff: '--cumulative' is deprecated -> remove
2013-10-21 17:39:57 +02:00
Øystein Walle
07ca60acf4 31858: _git: fix wrong default value 2013-10-21 17:39:56 +02:00