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

10880 commits

Author SHA1 Message Date
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
Daniel Shahaf
f9952301b2 unposted: Indicate which use-case each branch handles. 2018-10-02 15:22:06 +00:00
Daniel Shahaf
6a5c38626b unposted: Fix typo 2018-10-02 15:22:06 +00:00
Daniel Shahaf
d756c4d5cb 43531: Completion: Fix some false positives in the logic for "are these two candidates completions equivalent". 2018-09-30 22:18:46 +00:00
Daniel Shahaf
80ff65dc42 43570: Start documenting jobs.c, in particular superjobs. 2018-09-28 16:21:47 +00:00
Daniel Shahaf
15d613a14f 43563: zshzle: Clarify sentence in introduction. 2018-09-27 16:03:51 +00:00
Peter Stephenson
c2d65a3a6e 43564: improve job control report about stopped subjob 2018-09-26 16:23:00 +01:00
Peter Stephenson
3da60d2102 53542 (tweaked): further output about "which" output 2018-09-26 15:04:37 +01:00
Daniel Shahaf
3f2bcceec8 43528: zshbuiltins(1): Document 'which''s "not found is not an error" behaviour. 2018-09-25 23:29:06 +00:00
Oliver Freyermuth
cbcf6d1864 43554 (tweaked): Fix zathura completion ignoring multiple plugin directories. 2018-09-25 22:52:57 +00:00
Oliver Freyermuth
e4ca9d8ae3 43544: Fix zathura filename completion derived from *.so plugin name. 2018-09-25 20:33:04 +00:00
Daniel Shahaf
db67cc2f4b 43489: Add error checking on a new write() call.
Silences a compiler warning (write(2) is declared with warn_unused_result
in current Debian Unstable).
2018-09-25 19:35:15 +00:00
Peter Stephenson
464065f429 43543: Further improvements to fg/bg of superjob/subjob.
Attempt to keep STAT_STOPPED correct for superjob, rendering additional
"stopped = 1" unnecessary.

Wait for subjob before superjob.
2018-09-25 19:25:10 +01:00