1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-28 23:11:20 +02:00
Commit Graph

7834 Commits

Author SHA1 Message Date
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
Barton E. Schaefer
5c89c4ca9c 32377: change keybindings and PTY control for vi-mode tests to make them more reliable 2014-02-13 08:23:32 -08:00
Barton E. Schaefer
ba58bfe4bf 32365: another stab at the heuristic for initializing rprompt_indent 2014-02-08 14:49:39 -08:00
Martin Vaeth
045b2418bd 32356: fix a typo 2014-02-07 09:17:11 +00:00
luc
1af0d64552 18406: New completion for system_profiler 2014-02-06 09:40:36 +00:00
Oliver Kiddle
137b15a447 32355: document and test vi mode undo changes 2014-02-05 23:18:26 +01:00
Oliver Kiddle
e1bc9d0a44 32342: fix overstrike for vi mode and use varying vi commands at line start 2014-02-05 21:55:18 +01:00
Oliver Kiddle
2cd3b9ab74 32334 (modified so KEEPSUFFIX is unchanged for vi-cmd-mode; based on
Jun T: 32324, 32330), 32347, Jun T: 32344, 32349:
add split-undo zle widget for configurable breaks in undo sequence
2014-02-05 21:45:19 +01:00
Barton E. Schaefer
36ce87d367 Minor indexing changes to generate more consistent page layouts 2014-02-02 14:16:01 -08:00
Barton E. Schaefer
71b235bfa7 32341: heuristic initialization of ZLE_RPROMPT_INDENT 2014-02-02 14:07:23 -08:00
Barton E. Schaefer
620b915c4e Fix leading whitespace in a comment 2014-02-02 13:37:36 -08:00
Barton E. Schaefer
3882c30f80 32340: improve error messages for "read -c" / "read -l" 2014-02-02 13:28:41 -08:00
Barton E. Schaefer
ff201da515 32338: create empty help.txt so lack of helpfiles does not break the build 2014-02-02 13:19:25 -08:00
Barton E. Schaefer
f3e7cfe47c 32337: change initialization of some special parameters for emulation compatibility 2014-02-02 13:16:16 -08:00
Oliver Kiddle
a8c4ed64ee 32314: merge undo events corresponding to vi change in the vi-cmd-mode widget so undo from insert mode is useful again 2014-01-31 14:03:47 +01:00