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

10861 commits

Author SHA1 Message Date
Matthew Martin
39b0f5540c unposted: _pick_variant: Use ${(P) ::= rather than eval 2019-04-22 22:04:24 -05:00
Matthew Martin
a4f4497207 44242: Completion: Use _pick_variant -b to detect builtins 2019-04-22 22:04:24 -05:00
dana
64d1373835 43288: fix line-broken prompts
Without re-breaking the case where a newline character lands in column 0.
2019-04-18 20:54:19 +02:00
dana
11ff9b3db9 unposted: NEWS: Document recent feature additions
Document new features and major changes introduced in 44100, 44135, 44155,
44198, 44200, &al.
2019-04-12 21:39:46 -05:00
dana
78fb8aaccf 44198: Add cd_silent option to suppress all cd output 2019-04-12 14:00:19 -05:00
Peter Stephenson
5e11082349 44168 (tweaked to remove change to errflag): Fix interrupt handling of zle -F.
If interrupted by irrelevant interrupt (EINTR only is set), don't set
the local error flag, just retry.
2019-04-10 20:56:53 +01:00
Eric Freese
5c165453ab 44214: <(...) substitutions shouldn't grab the terminal 2019-04-10 09:44:58 +01:00
Roman Perepelitsa
c551937280 44215: Maintain LASTWIDGET across reset-prompt.
This avoids side effects of asynchronous notifications.
2019-04-10 09:41:04 +01:00
Peter Stephenson
fe228c5984 44202: Rewrite to use memmove() for possibly overlapping copy 2019-04-10 09:31:41 +01:00
Jun-ichi Takimoto
ba74b16716 44210: add _findmnt and update _lsblk 2019-04-10 11:59:26 +09:00
Matthew Martin
6f35d6c0d0 44202 (tweaked): _normal: Add -P to reset precommands 2019-04-04 18:45:19 -05:00
Matthew Martin
7d84cde313 44201: _command_name: Check for external forcing precommand 2019-04-04 18:45:19 -05:00
Matthew Martin
5facfd3280 44200 (tweaked): Completion: Append to precommands in _normal 2019-04-04 18:45:19 -05:00
Matthew Martin
bb790c8f81 44199: _normal: Use zparseopts 2019-04-04 18:45:19 -05:00
dana
c749a06bc9 44158: Completion: Add _postgresql
Adjusted to fix minor copy/paste error in __pgsql_cfg_params
2019-04-01 14:44:42 -05:00
dana
683c2cc1ca 44160 (tweaked): Completion: Add _deb_files, match *.ddeb
Add new helper function for generating Debian package/control files, use it
where applicable

Adjusted only for minor white-space corruption in original patch
2019-03-25 16:19:00 -05:00
Jun-ichi Takimoto
52f3266bd0 44176: warn only if off_t is longer than long 2019-03-25 23:51:57 +09:00
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