dana
860bcdd561
44250: Completion: Fix use of -A and -S options to _arguments
2019-04-26 17:48:30 -05:00
dana
d56a43f802
44249: Completion: Handle zsh/files built-ins in _mv and _rmdir
2019-04-26 17:45:35 -05:00
dana
9208e321da
44234: _ssh: Update for OpenSSH 8.0
2019-04-26 17:43:19 -05:00
Peter Stephenson
ca456fbba3
44284: Mark SIGQUIT as ignore if ignored on entry to shell.
...
This prevents us from re-enabling it after a fork if it is being
ignored.
2019-04-25 20:29:54 +01:00
Peter Stephenson
d4972af12c
44254: Handle error case in zgetdir().
...
When retrieving path to current directory by looking for /,
ensure we have actually reached / by comparing inode.
If the current directory became invalid on some OSes including
Linux the parent directory is valid but is the same as the
current one.
2019-04-25 17:09:26 +01:00
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