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

11042 commits

Author SHA1 Message Date
Oliver Kiddle
71c9130ede unposted: add usual copyright header to nearcolor module sources 2018-11-08 11:01:27 +01:00
Oliver Kiddle
742bd20277 43784: clarify descriptions on options related to match sorting 2018-11-08 11:01:20 +01:00
Oliver Kiddle
f0655371a6 unposted (c.f. Bart: 43739): use a correct description for the @ parameter expansion flag 2018-11-08 09:33:58 +01:00
Peter Stephenson
6529d52506 43788: clarify zpty -w -n with no string argument 2018-11-07 12:36:05 +00:00
Jun-ichi Takimoto
e5465c0434 43761: update five completion functions for darwin 2018-11-07 21:01:54 +09:00
Oliver Kiddle
c8ce1fe4c1 43760: add documentation for true colour changes and nearcolor module 2018-11-05 22:24:16 +01:00
Oliver Kiddle
50597692e0 43759: add support for true colour terminals 2018-11-05 22:24:12 +01:00
Oliver Kiddle
37d0005a9e 43747: new module to map colours from hex triplets to the nearest matching colour 2018-11-05 22:24:05 +01:00
Peter Stephenson
916ba78cd7 43752: Fix _expand quoting.
Quoting was not applied properly if globbing failed or was not applied.
2018-11-03 19:36:06 +00:00
Oliver Kiddle
58bfa1665b 43748: fix completion for ack 3beta 2018-11-02 01:09:47 +01:00
Wieland Hoffmann
11c84dcef4 github #29: Add completion support for Gits --color-moved option and color settings
--color-moved was added in Git 2.15.
2018-11-02 00:45:35 +01:00
Jun-ichi Takimoto
ce048aee38 43746: _ping: update for BSD and Darwin 2018-10-31 19:24:45 +09:00
Jun-ichi Takimoto
967c964e21 43744: _sysctl: support procps-ng, NetBSD
with several updates for other OS
2018-10-31 19:17:59 +09:00
Daniel Shahaf
73b1328049 43726: Add tests for semicolon in the middle of a sublist not terminating it. 2018-10-24 15:31:42 +00:00
Jun-ichi Takimoto
a4e435b873 43723: _mkdir: fix builtin mkdir and support darwin 2018-10-24 17:36:15 +09:00
Jun-ichi Takimoto
4ad04eeb85 43722: _ed, _env, _sort: support darwin
use the same completions as freebsd
2018-10-24 17:32:17 +09:00
Jun-ichi Takimoto
916ed74264 43721: _diff3: detect GNU variant correctly 2018-10-24 17:29:28 +09:00
dana
da05d2cc2b 43718: Use singular completion group descriptions 2018-10-24 00:41:58 -05:00
Marcin Mielniczuk
f413e5e17f 43714: complete lp fit-to-page option 2018-10-23 09:59:10 +01:00
Sebastian Gniazdowski
5556e00c65 43695: minor but simple optmiisation to use existing string length 2018-10-23 09:33:55 +01:00
dana
07d06c9fb9 43713: Improve init.d command completion 2018-10-22 15:56:28 -05:00
Peter Stephenson
079f7f9d48 43694: More detail on multios.
Mention how opening files in multios differs from cat.
2018-10-17 17:05:31 +01:00
Oliver Kiddle
ef58491092 43697: match uppercase filename extensions in zathura completion 2018-10-17 17:57:58 +02:00
Oliver Kiddle
8c57505314 43698: update options for git 2.19.1 2018-10-17 17:56:36 +02:00
Daniel Shahaf
76a16498d5 43692: Generate man pages in the build dir, rather than the source dir.
The following files are still generated in the source dir (in
out-of-tree builds):

    Doc/Zsh/manmodmenu.yo
    Doc/Zsh/modlist.yo
    Doc/Zsh/modmenu.yo
    Doc/version.yo
    Doc/zsh.idx
    Doc/zsh.texi
    META-FAQ
2018-10-16 23:21:28 +00:00
dana
a8f90de4ff 43672: Document result of redirecting from a non-existent file 2018-10-15 22:08:38 -05:00
Daniel Shahaf
bf9da44931 unposted: internals: Document sepjoin(). 2018-10-14 14:02:34 +00:00
Daniel Shahaf
f6adb79ba5 43685: add-zle-hook-widget: Support running under NO_UNSET ('set -u'). 2018-10-14 14:01:33 +00:00
Peter Stephenson
fa5b9bf6ee 43674: Split more PM_ flags for variables and functions.
This avoids using sign bit.

Also bump dev version because of wordcode incompatibility.
2018-10-12 09:25:04 +01:00
dana
995a56cf01 43602: Clarify behaviour of compdef -p 2018-10-10 18:50:40 -05:00
Peter Stephenson
f19266cf99 unposted: another couple of tests for previous commit.
This tests different code paths as the -c command option exits
in a different fashion from code executed from a script.
2018-10-10 12:11:27 +01:00
Peter Stephenson
0d3a786b7c 43669: ensure explicit exit status is used over implicit 2018-10-10 11:17:58 +01:00
Peter Stephenson
46c448cf9b Missed ChangeLog from previous commit 2018-10-09 14:51:36 +01:00
Peter Stephenson
bbccbe0c85 43660: extend 43653 when final exit is implicit.
Combine logic for case after committed to exit (shell_exiting) with
case where exit occurred in a function we nee to unwind (exit_pending).

Add sarky note for future generations to be confused at.
2018-10-09 14:38:26 +01:00
Peter Stephenson
9ede8c657f 43656: special tied arrays don't have tieddata 2018-10-09 11:21:47 +01:00
Peter Stephenson
afee3c9a19 unposted: addition to previous trap test suggested by Mikael 2018-10-09 11:15:48 +01:00
Peter Stephenson
d768a7492a 43653: explicit exit from EXIT trap overrides exit status 2018-10-09 10:05:05 +01:00
a-wing
00baf08602 43623: Fix Completion iptables -t raw security 2018-10-08 13:46:32 +00:00
Daniel Shahaf
e38f15f8ff 43620 (tweaked): vcs_info git: Reverse the order patches are passed to gen-unapplied-string in.
This is an incompatible change; see README for details.

Tweaks (relative to posted version): tweaked README, removed scalpel (debug print).
2018-10-08 13:44:40 +00:00
Daniel Shahaf
31dcba76f0 43617: vcs_info git: During a non-interactive rebase of a detached head, computer the %b expando correctly.
Before this commit, the value of %b was the hash of the commit from the
"source" side of the rebase, from .git/rebase-apply/orig-head and
.git/rebase-apply/original-commit.  This broke the invariant that
%b expands to a git-rev-parse(1) expression resolving to what %r
expands to.

Use .git/rebase-apply/onto instead as, empirically, it contains the
correct value.
2018-10-08 13:41:45 +00:00
Daniel Shahaf
0e0219118d 43619: vcs_info git: In non-interactive rebases, always set $hook_com[git_patches_applied] to a string of the form 'foo bar', never just 'foo'. 2018-10-08 13:41:43 +00:00
Daniel Shahaf
a05533e425 43618: vcs_info: Don't redefine helper functions on every execution of the autoloadable outer function.
This allows enabling tracing of the helper functions without fned'ing
the outer function.
2018-10-08 13:41:41 +00:00
Peter Stephenson
c4144bc95b unposted: doc tweak for helpfiles 2018-10-08 10:17:26 +01:00
Peter Stephenson
f99f7dca75 43616: Various parameter setting and display fixes.
Mostly to do with typeset -p and tied variables and their interaction.

Some general tied variable fixes.
2018-10-08 10:10:42 +01:00
Daniel Shahaf
5c9ef1a1fa 43587: vcs_info git: In 'git rebase -i', when computing subjects of applied-patches, handle an edge case where the subject is not available. 2018-10-07 15:05:19 +00:00
Daniel Shahaf
0c00eed4c7 43588: vcs_info git: Make sure applied-patches is of the form "$hash $subject" --- that is, has a space and a non-empty second argument --- even with future 'git rebase -i' verbs.
Use of '?' is consistent with these precedents:

Backends/VCS_INFO_get_data_git:220:            printf -v "git_patches_applied[$p]"  "%04d ?" "$p"
Backends/VCS_INFO_get_data_git:242:                git_patches_applied+=("? $subject")
Backends/VCS_INFO_get_data_git:244:                git_patches_applied+=("?")
VCS_INFO_quilt:160:            applied[$i]+=" ?"
VCS_INFO_quilt:168:            unapplied[$i]+=" ?"
2018-10-07 15:05:17 +00:00
Daniel Shahaf
a27fad1ae2 43586: vcs_info git: Reformat to minimise next diff. No functional change. 2018-10-07 15:05:15 +00:00
Daniel Shahaf
abc94e8f6a 43585: vcs_info svn: Recognize working copies in need of an upgrade. 2018-10-07 15:05:13 +00:00
Peter Stephenson
0290757ed4 unposted: minor FAQ typos 2018-10-03 13:53:12 +01:00
Peter Stephenson
623294a3ed 43589: Further improved subjob reporting.
Show subjob status instead of user-visible superjob any time
the subjob still has associated processes.
2018-10-03 11:32:39 +01:00