1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-23 17:01:05 +02:00
Commit graph

3082 commits

Author SHA1 Message Date
Barton E. Schaefer
87c482d751 31840: "read" needs IFS unset to avoid stripping whitespace in makefiles 2013-10-18 08:35:22 -07:00
Barton E. Schaefer
d5ba3ed245 31818: fix completion for zsh in _sh, and document the _arguments behavior that made the fix necessary
To avoid side effects, reposition the _arguments call in _sh for the zsh
special case. Document the side effects so avoided, and clean up the
_arguments documentation a bit along the way.
2013-10-12 09:19:24 -07:00
Mikael Magnusson
38adc17336 31806: _enable _disable: Workaround special characters in alias and function names breaking _arguments syntax 2013-10-11 14:57:57 +02:00
Mikael Magnusson
6f921b91f4 31805: Update _enable and _disable for -p, fix related typo in docs 2013-10-11 14:57:57 +02:00
Eric Cook
dc272d0d14 31801: missing local declaration for variables in completion 2013-10-08 20:47:51 +01:00
Wayne Davison
7e4fd18519 Add new options for rsync 3.1.0. 2013-10-06 16:53:21 -07:00
m0viefreak
8a70a98577 31754: _git: git rm: make git rm --cached work as intended
While limiting the completion to __git_changed-in-index_files
makes perfect sense for "git diff", it is wrong to use for
"git rm", because it prevents it from completing files present in
HEAD. Giving --cached to git rm is supposed to
"just remove it from the index, keep the working tree copy"
and is in no way related to the file needing to be
modified in the index in the first place.
2013-09-22 14:01:16 +02:00
Øystein Walle
2025b05bcf 31752: _git: change completion text for consistency 2013-09-22 14:01:15 +02:00
m0viefreak
128de883bd 31753: _git: correct some "undocumented" options
diff options:
  --cumulative is deprecated --> remove
  -G / -S: reword -S to emphase the difference to -G

revision options:
  --abbrev: reword, to emphase the --abbrev-commit requirement
2013-09-22 14:01:15 +02:00
Øystein Walle
cf0eae5d96 31751: _git: remove TODOs of actually documented options
No functional changes.
2013-09-22 14:01:14 +02:00
Øystein Walle
ab05a3d6d4 31749: _git: fix some typos in description texts 2013-09-22 14:01:13 +02:00
m0viefreak
735e7becb9 31748: _git: support completing remote branches without <remote>/ prefix
this is used in git 1.8's
git checkout <branch>
as a shorthand for
git checkout -b <branch> --track <remote>/<branch>
in case <branch> exists on exactly one remote and is not a local branch
2013-09-22 14:01:12 +02:00
m0viefreak
e45f685d4a 31746: _git: reword _git-config TODO
Support for merge drivers, filter drivers, and diff drivers is
missing.
2013-09-22 14:01:12 +02:00
Øystein Walle
5ec6a1510a 31750: _git: add new configuration options to match latest git v1.8.3 2013-09-22 14:01:11 +02:00
Øystein Walle
6c4c11929c 31747: _git: completion updates to match latest git v1.8.3 part 2 2013-09-22 14:01:10 +02:00
m0viefreak
f20ba1a51e 31755: _git: completion updates to match latest git v1.8.3 2013-09-22 14:01:09 +02:00
m0viefreak
06d58592ab 31745: _git: correctly use __git_guard_number in some cases
The space is relevant to make the help text work as intended.
2013-09-22 14:01:08 +02:00
m0viefreak
ef4157fac4 31744: _git: make git submodule <cmd> completion work
The -A parameter in the main completion stopped completion
in the subcommands from working. Remove it.
2013-09-22 14:01:08 +02:00
m0viefreak
2813d8aa98 31743: _git: fix usage of ->int: for some entries in _git-config 2013-09-22 14:01:07 +02:00
m0viefreak
5f427b8245 31741: _git: fix a wrong variable in __git_config_values
This probably was a copy/paste mistake.
2013-09-22 14:01:06 +02:00
Luka Perkov
075ad840d6 31726: _git: add few more arguments for cherry-pick and revert
Signed-off-by: Luka Perkov <luka@openwrt.org>
2013-09-14 11:21:34 +02:00
Luka Perkov
99e3aa58da 31723: _systemd: add more system commands
While at it move suspend command so the order of the
sytem commands equals the one in the systemd help.

Signed-off-by: Luka Perkov <luka@openwrt.org>
2013-09-14 11:21:34 +02:00
Barton E. Schaefer
012668e14e 31714: handle ".." properly when $PWD or the path prefix traverses a symbolic link. 2013-09-10 08:14:37 -07:00
Luka Perkov
c721356646 31708: _git: add --fixup and --squash options to commit
Signed-off-by: Luka Perkov <luka@openwrt.org>
2013-09-07 10:09:11 +02:00
Luka Perkov
a4245da999 31702: check for git rebase -i for autosquash 2013-09-06 21:48:00 +01:00
Peter Stephenson
1a4730b8ee based on 31641, 31642: completion for more make variants 2013-08-29 10:46:52 +01:00
Yuusuke Yoshimoto
2799e42bdd suppress stderr when listing java classes to complete 2013-08-04 18:58:20 +01:00
Thomas Klausner
a175e05166 mplayer supports .ts (transport stream) files 2013-08-01 09:50:47 +01:00
Jun T
c5d9abc6c8 31756: further make completion improvements.
ake care of mutually exclusive options.
Add _description using $state_descr.
Add completions for --debug=flag.
Fix typo (pointed out by Daniel Shahaf).
2013-07-25 09:47:47 +01:00
Richard Hartmann
673760876c 31572: Completion/Debian/Command/_linda: Deleted 2013-07-24 22:04:02 +02:00
Richard Hartmann
f9851d817f 31571: Completion/Unix/Command/_vcsh: Update 2013-07-24 22:03:55 +02:00
Eric Cook
4e3f838269 31558: name of qemu executable changed in completion. 2013-07-22 19:03:54 +01:00
Peter Stephenson
9a192dddd2 c.f. 31531: complete xcf files for image manipulation packages 2013-07-19 19:30:27 +01:00
Jun T
29256a7c96 31525: Fix some options in _make 2013-07-17 19:27:20 +01:00
Nick Cross
a71b8df9b2 Update make completion with gnu options 2013-07-12 09:37:36 +01:00
Peter Stephenson
7e17ea8016 users/17856: rewrite _make to use _arguments.
No new option handling yet, but this should make it easier to add.
2013-07-11 11:14:38 +01:00
Clint Adams
96c8b2832b 31500: Completion/Debian/Command/_dput: dput-ng completion support from Sebastian Ramacher. 2013-06-28 15:15:06 -04:00
Clint Adams
758d0a605b 31499: dcut completion from Sebastian Ramacher. 2013-06-28 14:51:48 -04:00
Clint Adams
25c7763067 31xxx: Completion/Debian/Command/_dak: complete files for subcommands that are not explicitly specified. 2013-06-28 14:36:04 -04:00
Peter Stephenson
347a63da0c 31465: fix basic completion and globbing uses of disabled patterns 2013-06-13 18:40:36 +01:00
Barton E. Schaefer
8a35ec4eef 31205: Do not display "(eval)" as a tag context 2013-06-10 00:18:52 -07:00
Peter Stephenson
95c044372a 31433: zcat -f doesn't need suffix .gz 2013-05-29 19:21:34 +01:00
Peter Stephenson
aa7467b0bf Improve Perforce jobs completion to limit
potentially huge output using jobview by default;
fix quoting of arguments passed on to eval within _call_program.
2013-05-14 14:25:14 +01:00
Richard Hartmann
bb6e894f27 Add .ogv to mplayer completion 2013-05-10 10:03:12 +01:00
Kenyon Ralph
3d6d6136e2 31371: _brctl: update brctl subcommands
Add hairpin and showstp. These are available since at least
bridge-utils 1.5.
2013-05-05 11:10:46 +02:00
Peter Stephenson
60e41f9fc8 31369: set locale for completion if locale command is not usable 2013-05-04 16:07:34 +01:00
Jun T
cbf6f144a9 31357: _cp: add support for Mac OS X
If not GNU nor darwin, assume POSIX.
2013-04-29 17:11:05 +02:00
Peter Stephenson
8ab3a7b0e6 31356: typo in new _comp_locale noted by Bart 2013-04-29 15:07:30 +01:00
Peter Stephenson
8cdb57b3b7 31355: _comp_locale tries to sanitise locales but keep CTYPE;
use this for subversion completion.
2013-04-29 10:08:07 +01:00
Ramkumar Ramachandra
2ea9cd4775 31288: _git: fix shortlog completer
Currently, __git-shortlog () says that 'git shortlog' can only accept
commits as arguments (probably because the official documentation says
this).  This is entirely untrue: shortlog can accept
commit-range-or-file, just like log can.  Fix the completer by copying
out segments from the __git-log () function.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-04-25 14:36:08 +02:00