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

10214 commits

Author SHA1 Message Date
Peter Stephenson
5a8155f7b7 41633: Fix problem backgrounding function definitions.
Owing to being marked as simple sublists the instruction to
background was ignored.  This applied to anonymous functions.
2017-09-04 21:36:46 +01:00
Daniel Shahaf
1e536747ae 41621: _mkdir: Honour the 'command' and 'builtin' precommand modifiers. 2017-09-04 14:05:24 +00:00
Daniel Shahaf
2c4e5c4acb 41620 (tweaked per 41622): _mkdir: Don't offer a linux-specific option in the 'zsh' variant. 2017-09-04 14:05:21 +00:00
Marc Aldorasi
ef9d13c3d1 41637: add explicit objdump completion 2017-09-04 09:33:43 +01:00
Peter Stephenson
a6c72cb835 41623: Update FAQ.yo for Yodl 3 2017-09-02 20:09:27 +01:00
Peter Stephenson
b2e44bce62 Make mbegin, mend, match local in zed.
Needed for zstyle -m.
2017-08-31 16:55:26 +01:00
Peter Stephenson
ebcea98eca Fix problem with ERR_RETURN.
It wasn't suppressed properly in the code following an if
in some circumstances, in particular in initialsation scripts
and also in a nested function where the caller had suppressed
it.
2017-08-31 16:54:19 +01:00
Daniel Shahaf
73514c40f6 41567: _tmux: Complete detached sessions first for attach-session. 2017-08-30 00:13:06 +00:00
Daniel Shahaf
1e44c649a4 41566: _tmux: Complete only attached sessions for detach-session. 2017-08-30 00:13:03 +00:00
Daniel Shahaf
eb6c012f64 41564: _tmux: Complete environment variables and their values for set-environment and show-environment.
Also, teach show-environment not to offer --options after positional
arguments.
2017-08-30 00:12:07 +00:00
Daniel Shahaf
9a4fb22d89 41557: _tmux: show-environment, set-environment: Make -g,-t mutually exclusive.
tmux does not error out on the combination, but it does ignore one of
the two when both are specified.
2017-08-30 00:12:05 +00:00
Daniel Shahaf
383dc2a6f5 41558: _tmux: Complete option names for show-options and show-window-options. 2017-08-30 00:12:02 +00:00
Peter Stephenson
7d1877da4e 41608 (plus tests): restore ERR_EXIT before function.
There was an exception to the usual ERR_EXIT pattern that causes
problems when executing a function in an else branch.  It seems
the exception is no longer needed as the regression tests pass
without it.
2017-08-29 19:52:18 +01:00
Андрей Стоцкий (_RuRo_)
8b4d2329c7 41618: Added some arguments autocompletion to _todo.sh. 2017-08-29 01:56:17 +00:00
Oliver Kiddle
386eb378a7 41617: complete new tracepath options 2017-08-29 00:41:34 +02:00
Oliver Kiddle
e5c11eb7b5 41616: update completion options to entr 3.8 2017-08-29 00:38:32 +02:00
Oliver Kiddle
92ec72844c unposted: add missing #autoload directive 2017-08-29 00:32:41 +02:00
Daniel Shahaf
ab6ac7313d unposted: Post-release version bump. 2017-08-28 00:34:32 +00:00
Peter Stephenson
6ff4787e83 unposted: 5.4.2 2017-08-27 21:18:25 +01:00
Daniel Shahaf
c108446ff3 unposted: Fix changelog typo introduced by the previous commit. 2017-08-27 01:26:56 +00:00
Peter Stephenson
0e7186f443 41599: info updates for 5.4.2 2017-08-25 19:35:05 +01:00
William da Silva
dd2e003c8e 41602 (tweaked): Improve wording in gpg completion. 2017-08-25 15:29:36 +00:00
Oliver Kiddle
3fbb80b1d3 41601: handle system differences in arp completion and add function for route 2017-08-25 15:20:10 +02:00
Oliver Kiddle
93ce12e7a0 41600: fix quoting of songs for mpc completion
also avoid sending errors to stderr and update completion of options
and subcommands
2017-08-25 15:13:57 +02:00
Oliver Kiddle
86f9edbc9d 41598: new who and w completions 2017-08-25 15:08:30 +02:00
Peter Stephenson
97d4bdbc7e 41590 modified as 41595: make ERR_RETURN more logical.
It now operates separately at each function depth.

To keep ERR_EXIT global, make the noerrexit variable usd bit flags.

Extend tests.
2017-08-24 19:46:20 +01:00
Daniel Shahaf
d6aa949977 41565: vcs_info patch2subject: Support svn log -r N --diff output. 2017-08-22 20:50:14 +00:00
Oliver Kiddle
1472c85412 41568: complete vmstat options on NetBSD and Solaris and add some exclusion lists 2017-08-18 22:25:16 +02:00
Oliver Kiddle
9dee8e00b9 41563: fix completion description alignment with _regex_words 2017-08-18 13:02:18 +02:00
Oliver Kiddle
620b7d61ab 41562: correct completed word 2017-08-18 13:00:10 +02:00
Oliver Kiddle
bcb285dbb6 41561: update dhclient completion
handle Free/OpenBSD implementations and bring options up-to-date
for the ISC implementation
2017-08-18 12:56:39 +02:00
Oliver Kiddle
ba6538637e 41560: cleanup chsh completion for different platforms 2017-08-18 12:54:18 +02:00
Tomasz Pala
2b0bc3282f users/22834: fix irritating bug in file glob for Linux kernel modules 2017-08-17 00:01:01 +02:00
Tomasz Pala
8197af9b9c users/22834: allow completion after -c and a few other new ip options 2017-08-16 23:58:19 +02:00
Oliver Kiddle
b1a1a34250 41556: complete BPF (libpcap) filters 2017-08-16 23:47:55 +02:00
Oliver Kiddle
f80fe2dfe9 41552: complete only branches after git worktree add --detach
the --detach is superfluous for other commits
2017-08-16 23:41:09 +02:00
Peter Stephenson
ddb8675901 posted but has not shown up: fix fd problem in subshell.
Record fd's that have been saved in fdtable and if the shell
forks close them as they will never be restored.
2017-08-15 20:49:23 +01:00
Peter Stephenson
74aff4106a 41542: Fix pcre logic for extracting matched parentheses.
When we went off the end of the array but measured the length
implicitly, we got lucky before.  After 41308 we were looking up lengths
in stale memory.

Rename some variables, clean up the logic, be easier to understand.

Add tests.
2017-08-14 11:17:48 +01:00
Phil Pennock
b5f40f4156 41527 (tweaked for heap memory): fix [[ -<cond> ]] from modules 2017-08-11 15:02:06 +01:00
Peter Stephenson
0f8cf76ece unposted: fix README typo 2017-08-09 20:31:52 +01:00
Peter Stephenson
cfd34c75ac 41504: make empty strings work in case patterns with no leading parenthesis 2017-08-09 19:57:47 +01:00
Peter Stephenson
23af20d0b9 unposted: update to 5.4.1-dev-0 2017-08-08 20:04:24 +01:00
Peter Stephenson
dc475bfa0e unposted: update to 5.4.1 2017-08-08 19:09:15 +01:00
Peter Stephenson
a9b579a9d3 Revert "41499 (with one further tweak): POSIX_STRINGS behaviour."
This reverts commit 2eacbef919.

Conflicts:
	ChangeLog
2017-08-08 19:04:49 +01:00
Peter Stephenson
2fba415a71 41510: update doc for $ZSH_PATCHLEVEL 2017-08-08 16:12:20 +01:00
Daniel Shahaf
5654b905f9 41481: _df: Complete mounted device and mount points.
This splits umount's "udevordir" completion from _mount to a new file,
without changing it.
2017-08-08 14:55:02 +00:00
Daniel Shahaf
e2124c4719 41486: _tmux: Correct completions of new-window, split-window, respawn-window, respawn-pane.
This follows up to 41467 which patched new-session.
2017-08-08 13:52:04 +00:00
Daniel Shahaf
36185563f8 unposted: Post-release version number bump to 5.4-dev-0. 2017-08-08 13:51:47 +00:00
Peter Stephenson
9ecaeefa47 unposted: version 5.4 2017-08-07 18:49:23 +01:00
Peter Stephenson
2eacbef919 41499 (with one further tweak): POSIX_STRINGS behaviour.
Ignore a terminating delimiter when splitting as separators
despite being called separators are terminators.
2017-08-07 18:47:43 +01:00