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

8048 commits

Author SHA1 Message Date
Jun T
53e9e2646d 32493: some man page formatting fixes 2014-03-17 15:11:30 +00:00
Peter Stephenson
35475f012a Merge branch 'master' of ssh://git.code.sf.net/p/zsh/code 2014-03-16 18:30:37 +00:00
Mariusz Fik
2dcf053106 Fix zypper commands completion [zypper <TAB>].
Signed-off-by: Mariusz Fik <fisiu@opensuse.org>
2014-03-16 18:30:12 +00:00
Mariusz Fik
8c9df2ca1d Fix zypper commands completion [zypper <TAB>].
Signed-off-by: Mariusz Fik <fisiu@opensuse.org>
2014-03-16 18:28:52 +00:00
Peter Stephenson
6ebb9f6a31 unposted: document effect of 32479 on POSIX_TRAPS 2014-03-14 19:41:18 +00:00
Jun T
458e66574b 32482: fix character translation issue with some versions of Yodl 2014-03-14 18:48:06 +00:00
Peter Stephenson
a06cd1766a 32479: POSIXTRAPS and implicit return values.
With POSIXTRAPS never propagate implicit return value.
In any case if not forcing a return value don't use lastval
from within the trap, use the one from the surrounding code.
2014-03-14 12:52:41 +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
Jun T
ba44ba6e6f 32480: Fix crash in vi mode with too few previous changes 2014-03-13 16:29:19 +00:00
Barton E. Schaefer
38be9fe84a 32468: save/restore match/mbegin/mend when doing pattern lookups against zstyle contexts 2014-03-09 00:29:02 -08:00
Barton E. Schaefer
ff6d8115ef Merge branch 'master' of git://git.code.sf.net/p/zsh/code 2014-03-03 23:52:20 -08:00
Barton E. Schaefer
e6d99759e8 users/18550: matcher-list documentation clarifications 2014-03-03 23:51:12 -08:00
Simon Ruderich
3c25cb29ab 32289: Doc: Add zsh version to footer in HTML documentation. 2014-03-03 21:28:21 +01:00
Oliver Kiddle
7d301a527e 32441: add completer for file extensions 2014-03-03 16:50:14 +01:00
Oliver Kiddle
f62bd9c06c 32450: make get-line widget set the history number that was saved with the line 2014-03-03 12:17:28 +01:00
Oliver Kiddle
97115e0e7f 32448: fix seg fault if $WIDGET is accessed after recursive-edit is interrupted 2014-03-03 12:14:01 +01:00
Oliver Kiddle
1f290a3e82 32439: add new show-ambiguity style 2014-03-03 12:08:45 +01:00
Oliver Kiddle
b5fcc04f0e 32436: allow = to be used in ZLS_COLORS patterns if it is quoted or inside parentheses 2014-03-03 11:57:56 +01:00
Peter Stephenson
965d7305e5 32453: fix zcalc default base handling 2014-03-01 21:27:47 +00:00
Manuel Presnitz
973e5dc37d 32412 / 32415: New giga- and terabyte units for glob qualifiers 2014-03-01 19:08:17 +00:00
Peter Stephenson
f798f13b0e Fix merge conflict 2014-02-28 18:45:35 +00:00
Peter Stephenson
52f72086c9 users 18531 plus doc etc.: new expand-absolute-path widget 2014-02-28 18:44:49 +00:00
Jun T
7d7242405a 32435: improved quoting for ignore-line completion style 2014-02-26 20:39:11 +00:00
Oliver Kiddle
4149d0ab3e unposted: fix typo in documentation 2014-02-25 09:17:26 +01:00
Oliver Kiddle
39717411ae unposted: duplicate local statement was printing variable value 2014-02-25 09:14:21 +01:00
Oliver Kiddle
7c31413278 users/18498: observe add-space style in _expand_alias so suffix can be disabled 2014-02-25 09:02:19 +01: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
Barton E. Schaefer
7e04c1a53d 32427: avoid busy loop on closed descriptors for "zle -F" handlers
Also assure the handlers are called on error conditions and document the
extra argument that is passed in the error case.
2014-02-23 18:14:12 -08:00
Peter Stephenson
73db206838 32414: improved error message for missing delimiters.
For glob qualifiers "u" and "g".
2014-02-19 15:34:17 +00:00
Eric Cook
be47852679 new forms of completion for btrfs 2014-02-18 20:02:49 +00:00
Eric Cook
b9f10722ac updated subcommand completion for btrfs 2014-02-18 19:59:57 +00:00
Eric Cook
55232af891 minor typo in btrfs completion 2014-02-18 19:58:46 +00:00
Eric Cook
5a8de9087d remove hard tabs from btrfs completion 2014-02-18 19:57:26 +00:00
m0viefreak
cf02c2f0f3 prefer col -bx to colcrt in helpfiles 2014-02-18 19:54:46 +00:00
m0viefreak
bc160bc585 remove old example from helpfiles:
code is integrated with distribution
2014-02-18 19:52:18 +00:00
m0viefreak
8ffbfc050f use env to find perl for helpfiles 2014-02-18 19:50:08 +00:00
m0viefreak
71d3065950 update zshcontrib for latest helpfiles 2014-02-18 19:48:30 +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
Barton E. Schaefer
76ab661df3 unposted: document interactions of "fc -R" etc. with "fc -l" and $HISTCMD 2014-02-17 09:57:05 -08:00
Barton E. Schaefer
956d35ef12 32388: zparseopts -K preserves individual associative array elements 2014-02-15 13:49:26 -08:00
Barton E. Schaefer
ae0b56cdda 32389 (with Jun Takimoto): additional PTY and keybinding adjustments 2014-02-15 13:45:35 -08:00
Oliver Kiddle
90916c4e08 32361: don't reset lastline before completion 2014-02-14 22:51:33 +01:00
Barton E. Schaefer
7274ea8c49 Fix character transposition typo 2014-02-13 08:25:09 -08:00