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

10844 commits

Author SHA1 Message Date
Wesley Schwengle
5ca680c93c 44162 (tweaked): Avoid format-overflow warning in zftp.c 2019-03-25 23:01:43 +09:00
Wesley Schwengle
51d2e91a7e 44164: Avoid stringop-truncation warning 2019-03-25 20:42:54 +09:00
dana
fa92c6a1af unposted: _chmod: Adjust _guard pattern
Per off-list feedback from Daniel, use a more context-specific pattern
2019-03-24 23:52:22 -05:00
dana
dc2d8d9c26 unposted: _chmod: Use _guard for mode operand 2019-03-22 17:22:23 -05:00
Clinton Bunch
ea8d3ab3e4 44156 (tweaked): zsh/system: Add note about potential flock side-effects
(Minor adjustments to wording and formatting)
2019-03-22 17:11:19 -05:00
Matthew Martin
5267bdc4ef 44153: rm: Accept -R as equivalent to -r 2019-03-21 22:04:55 -05:00
Matthew Martin
9b267ff1eb 44149: _mkdir, _stat: Use _pick_variant -b 2019-03-21 22:04:55 -05:00
Matthew Martin
8e4566e536 44144: _builtin: Append "builtin" to precommands 2019-03-21 22:04:55 -05:00
Matthew Martin
922cf49830 44155: _pick_variant: Update builtin check 2019-03-21 22:04:55 -05:00
Jun-ichi Takimoto
3e542bcd81 44147: add/update completions for procps-ng
New completions for free, pmap, slabtop, tload. Update _top.
2019-03-22 09:23:42 +09:00
dana
3e67e8347c 44111: _git: Use git rev-list for log messages
This side-steps issues related to `git log` respecting settings like
log.showSignature
2019-03-21 17:02:16 -05:00
Peter Stephenson
876dccfe73 Update doc from previous commit.
Make it clear it's commands whose names begin with a /
that aren't hashed.  Obviously commands whose paths
begin with a / are OK, duh.
2019-03-19 14:22:34 +00:00
Charles Blake
084bf17c4b 44132: don't hash commands beginning with / 2019-03-19 14:09:50 +00:00
Peter Stephenson
73b29f079b 44142: Fix hist_reduce_spaces bug.
When there were as an unstripped comment on the line the
pointer for stripping spaces could be bogus.  Don't do
any editing in that case.
2019-03-19 13:44:47 +00:00
Matthew Martin
6331772c5b 44135: Add chmod builtin 2019-03-18 22:17:54 -05:00
Matthew Martin
2f670be951 44135: _chmod: Reformat to minimize next diff. No functional change. 2019-03-17 19:33:11 -05:00
Jun-ichi Takimoto
947e26fe5a 44118: use libtirpc if RPC is not in glibc 2019-03-15 13:36:55 +09:00
Kamil Dudka
00e6ab70b8 44122: turn int into long to avoid overflow 2019-03-14 09:46:23 +00:00
dana
632023acc2 44100: zparseopts: Add -F option, completion, tests; improve documentation
* Enable zparseopts to perform basic usage validation (aborting on an
  unrecognised option-like parameter)

* Officially document the resolution of ambiguous option specs
2019-03-12 19:03:56 -05:00
Jun-ichi Takimoto
36290f3e8e 44101: _vim: better support for nvim 2019-03-08 17:09:26 +09:00
dana
f21d54a381 unposted: _zftp: Use 'post' pattern matching
_zftp's use of `#compdef -p`, combined with inaccurate sub-command matching in
the function, was causing it to clobber the completion for other commands,
notably zf_mkdir from zsh/files. To avoid this, use -P instead
2019-03-06 18:06:07 -06:00
dana
a41f09f862 44099: Completion: Add _trash 2019-03-06 17:37:11 -06:00
Jun-ichi Takimoto
2055ee92e7 unposted: ztst.zsh: fix a typo 2019-03-01 14:57:55 +09:00
dana
3efacdbacf 44087: _getconf: Complete options, config variables on more systems 2019-02-27 19:31:55 -06:00
dana
d669a9a045 44090 (re: 44085): _remote_files: Don't set QUOTING_STYLE
The syntax was incompatible with some shells, and it's probably not a big
enough concern to work around it
2019-02-27 19:27:59 -06:00
dana
c01f10db5e 44085: _remote_files: Prevent ls/alias settings from mangling file listings 2019-02-26 14:31:00 -06:00
dana
29222ca186 44080: Completion: Fix several option-description typos 2019-02-26 01:21:29 -06:00
dana
2331785afb unposted: _less: Fix typo
Reported here: https://www.reddit.com/r/zsh/comments/au98zv/_/
2019-02-24 14:37:34 -06:00
dana
d4f9899739 44077: completion: Fix GNU _pick_variant patterns, partially fix getent -s 2019-02-22 13:20:16 -06:00
dana
7930905f0c 44076: _column: Support Debian, add missing options, adjust wording
Tweaked per off-list discussion with Daniel: We agreed that it would be
best to side-step the wording disagreement between the BSD and
util-linux implementations by using our own description for -x, which
was borrowed from the one for `print -ca`
2019-02-22 13:14:16 -06:00
Yutian Li
0afe9dc02a 44067: Make history read safer on interrupt.
Record if a read was interrupted and if so process it in full
next time a read is needed.
2019-02-18 10:10:00 +00:00
Peter Stephenson
e25de2de74 c.f. 44062: Back off clearflag change to ZLE line init.
This causes problems with failed ZLE reads that printed a message
in the display area, in particular ignoreEOF warnings.

It appears it's not needed for the overall effect of the fixes in
zsh-workers/40302, commit 34656ec2.
2019-02-14 11:41:19 +00:00
Doron Behar
109975b1b5 gitlab !5: Add new abcde completion. 2019-02-09 10:08:20 +01:00
Hiroki Noda
a8c9daf7f1 github #31: Add new demangle style, rust and dlang 2019-02-09 10:08:03 +01:00
dana
9bf7040174 unposted: Post-release version bump 2019-02-03 13:30:34 -06:00
dana
8b89d0d577 unposted: Release 5.7.1 2019-02-03 13:27:45 -06:00
dana
0220822d82 44034: _date_formats: Complete %9./%N, adjust wording 2019-02-03 13:20:32 -06:00
dana
7b97d4f749 44033: Add completion for dos2unix/unix2dos 2019-02-03 11:58:42 -06:00
dana
ed4c8f3d5e 44030: prompt: Return error for unrecognised colour name 2019-02-03 11:55:40 -06:00
Fredric Silberberg
4f6ac08af3 github #32: Fix a typo in the git tag completion. 2019-01-28 00:48:23 +00:00
dana
fb744bb565 unposted: Update release instructions 2019-01-27 18:36:34 -06:00
dana
b70919e0d9 44020: VCS_INFO_detect_p4: Fix infinite recursion 2019-01-27 00:26:31 -06:00
dana
aaf26dffd6 unposted: Post-release version bump 2019-01-24 12:48:25 -06:00
dana
9799d0f9a2 unposted: Release 5.7 2019-01-24 12:42:52 -06:00
dana
e3cab52ca2 44012: X04zlehighlight: Fix spurious test failures on OpenBSD 2019-01-23 20:35:38 -06:00
Mikael Magnusson
d683d278c7 44011: Only use fg_start_code for non-truecolor
The sequence for truecolor uses a different prefix from palette colors
2019-01-23 11:51:42 +01:00
dana
a76c6def15 44001: _brace_parameter: Complete (q+) 2019-01-21 15:17:57 -06:00
dana
96a7993801 43990: _opkg: Support gain-privileges 2019-01-18 01:45:27 -06:00
Peter Stephenson
88ad890c05 users/23829: add and coument file-split-chars style 2019-01-08 14:19:19 +00:00
dana
325fceab3b unposted: Update for 5.6.2-test-3 2019-01-05 00:03:07 -06:00