1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 22:11:54 +02:00
Commit graph

7782 commits

Author SHA1 Message Date
Barton E. Schaefer
61deff76f2 31737: same loop counter fix in get_cadef as get_cvdef. 2013-09-19 07:55:53 -07:00
Axel Beckert
844e569b63 31735: fix off-by-one in completion utility cache code.
Was causing crashes in complex completions, particularly with taskwarrior
2013-09-19 09:45:45 +01:00
Luka Perkov
075ad840d6 31726: _git: add few more arguments for cherry-pick and revert
Signed-off-by: Luka Perkov <luka@openwrt.org>
2013-09-14 11:21:34 +02:00
Luka Perkov
99e3aa58da 31723: _systemd: add more system commands
While at it move suspend command so the order of the
sytem commands equals the one in the systemd help.

Signed-off-by: Luka Perkov <luka@openwrt.org>
2013-09-14 11:21:34 +02:00
Barton E. Schaefer
012668e14e 31714: handle ".." properly when $PWD or the path prefix traverses a symbolic link. 2013-09-10 08:14:37 -07:00
Peter Stephenson
cc83fd9916 conflict resolution 2013-09-08 21:14:00 +01:00
Peter Stephenson
061e809502 31711: add execute-never style for MIME function system.
Allows alien file systems to be marked as not having executable fiels
2013-09-08 21:12:13 +01:00
Luka Perkov
c721356646 31708: _git: add --fixup and --squash options to commit
Signed-off-by: Luka Perkov <luka@openwrt.org>
2013-09-07 10:09:11 +02:00
Luka Perkov
a4245da999 31702: check for git rebase -i for autosquash 2013-09-06 21:48:00 +01:00
Peter Stephenson
c866657a3c 31706: standardize handling of "test ! <x> <y> <z>" 2013-09-06 20:37:40 +01:00
Peter Stephenson
3573ab44e7 31658: fix manual entry about getting lines from mapfile 2013-09-06 14:09:08 +01:00
Peter Stephenson
2afa556d8f 31696: In "test" No One Can Hear If You Shriek.
Treat ! as a string in "test ! -a ..." and "test ! -o ...".
2013-09-04 20:16:58 +01:00
Peter Stephenson
1c9931cc7d users/17955: new "disown" style for MIME handlers.
Makes handlers put into the background run without job control.
2013-08-29 10:48:49 +01:00
Peter Stephenson
1a4730b8ee based on 31641, 31642: completion for more make variants 2013-08-29 10:46:52 +01:00
Peter Stephenson
b0a0441902 31672: Add test that was failing and fix zpty set-up race 2013-08-26 21:01:17 +01:00
Peter Stephenson
f61804c4b4 Update ChangeLog entry with mailing list reference. 2013-08-26 20:18:07 +01:00
Peter Stephenson
f75904a380 31665: zpty should attach terminal on slave.
Also add test.
2013-08-25 20:48:52 +01:00
Barton E. Schaefer
935758ab7f 31637: be more selective about retry of lchdir() in cd_do_chdir()
Change of directory should not be retried relative to the current directory
when it has already failed along some path that does not refer to the
current directory.
2013-08-18 20:24:45 -07:00
Peter Stephenson
40a881569f 31650: use zlong for mailcheck parameters to ensure range 2013-08-11 20:19:53 +01:00
joe M
b9e16ac818 31648: fix timing errors in mailcheck 2013-08-10 19:48:13 +01:00
Peter Stephenson
8ae8fae400 31644: Fix insertion of multibyte characters into editor line.
This was broken for a string that came from outside ZLE in the case
where the editing buffer wasn't metafied, i.e. not in completion.
2013-08-08 20:10:06 +01:00
Peter Stephenson
0b185e3dcd users/17908: Keep history line in sync between ZLE and shell.
Update ZLE version if history is read, pushed or popped with ZLE active
2013-08-08 19:48:11 +01:00
Phil Pennock
180c4c049c 31634: run-help compat with alias to noglob/nocorrect
Given `alias fetch='noglob fetch'`, without this change `run-help fetch`
recurses to invoke itself on the noglob command, bringing up the help
for noglob.  Similarly for nocorrect.  Thus the user would have to quit
out of the pager, then avoid quitting out of the loop, so that they can
go into the second iteration and see the help for the second instance
found by `whence -a`, which happens to be the target of the alias.
With common pagers, that's thus 'q', 'not-q'.  Somewhat frustrating.

Without this change, `alias foo='noglob bar'` where `foo` is not
otherwise a command would _never_ show the help for `bar`, since it only
showed the help for `noglob` and there was no second line of whence
output to trigger the second pass.

With this change, aliases to `noglob|nocorrect` of a command somewhat
ignore the presence of that precommand modifier; if a command is aliased
to `noglob $itself`, then the result is that the first line of whence
output is shown, no pager is used, the user can immediately see a prompt
to continue and press something other-than-q to see the help for the
command.

If given `alias foo='noglob bar'` then `run-help foo` will immediately
show the help for bar.

This behaviour was chosen to be consistent with the existing alias
support, but just working better with the precommand modifier.
2013-08-07 04:11:56 -04:00
Peter Stephenson
9ebf22b34b 31631: Use cygwin_conv_path if available.
Prefer it to cygwin_conv_to_posix_path.
2013-08-05 19:55:15 +01:00
Yuusuke Yoshimoto
2799e42bdd suppress stderr when listing java classes to complete 2013-08-04 18:58:20 +01:00
Peter Stephenson
568e0db7a9 31611: attempt to fix crash completing redirection in do loop 2013-08-02 18:58:35 +01:00
Thomas Klausner
a175e05166 mplayer supports .ts (transport stream) files 2013-08-01 09:50:47 +01:00
Peter Stephenson
9d32c82da3 17591: fix error message for invalid fd in print -u 2013-07-29 10:44:07 +01:00
Manuel Presnitz
5b85ac9011 31592: improve documentary for handling of named directories.
Minor changes of phrasing.
2013-07-28 18:37:00 +01:00
Jun T
c5d9abc6c8 31756: further make completion improvements.
ake care of mutually exclusive options.
Add _description using $state_descr.
Add completions for --debug=flag.
Fix typo (pointed out by Daniel Shahaf).
2013-07-25 09:47:47 +01:00
Peter Stephenson
4095e175b6 31574: alternative fix for bad fd if no FD_CLOEXEC.
Remove dump records more consistently in that case.
2013-07-25 09:45:33 +01:00
Richard Hartmann
673760876c 31572: Completion/Debian/Command/_linda: Deleted 2013-07-24 22:04:02 +02:00
Richard Hartmann
f9851d817f 31571: Completion/Unix/Command/_vcsh: Update 2013-07-24 22:03:55 +02:00
Peter Stephenson
e282fd8ecb 31750: fix for HISTREDUCEBLANKS option.
Don't truncate line after marked words if there's more
non-white-space text, which is probably comments.
2013-07-24 15:54:55 +01:00
Peter Stephenson
31c5c7bb11 unposted: fix previous commit: ihwend -> hwend 2013-07-22 21:00:50 +01:00
Peter Stephenson
6533ae0719 31559: Fix history line problem with aliases and comments 2013-07-22 20:58:57 +01:00
Eric Cook
4e3f838269 31558: name of qemu executable changed in completion. 2013-07-22 19:03:54 +01:00
Peter Stephenson
709dbbbda8 31549: Fix third problem with file descriptor management.
Replace ad-hoc subsh_close file descriptor for pipe management with the new
job-based addfilelist() mechanism.
2013-07-21 18:23:04 +01:00
Peter Stephenson
39ab9952e8 31545: Use of FD_CLOEXEC to remove possibility of fd reuse.
File descriptors of mmap'd dump files are closed if and only if
an exec is performed.
2013-07-20 23:23:18 +01:00
Peter Stephenson
9a192dddd2 c.f. 31531: complete xcf files for image manipulation packages 2013-07-19 19:30:27 +01:00
Peter Stephenson
cda21a28e6 31536 with additions: Fix hang in previous process substitution fix.
Close applicable file descriptors when waiting for a job.
2013-07-19 12:09:32 +01:00
Peter Stephenson
3c5732223f 31528: use job table to record file descriptors associated with process subst 2013-07-17 21:33:16 +01:00
Jun T
29256a7c96 31525: Fix some options in _make 2013-07-17 19:27:20 +01:00
Nick Cross
a71b8df9b2 Update make completion with gnu options 2013-07-12 09:37:36 +01:00
Peter Stephenson
7e17ea8016 users/17856: rewrite _make to use _arguments.
No new option handling yet, but this should make it easier to add.
2013-07-11 11:14:38 +01:00
Peter Stephenson
669c070efe 31503: zmv improvements for user-specified programs.
-p splits words of commands passed to it.
-P is like -p for when the program doesn't understand the -- convention
2013-07-03 12:46:02 +01:00
Clint Adams
96c8b2832b 31500: Completion/Debian/Command/_dput: dput-ng completion support from Sebastian Ramacher. 2013-06-28 15:15:06 -04:00
Clint Adams
758d0a605b 31499: dcut completion from Sebastian Ramacher. 2013-06-28 14:51:48 -04:00
Clint Adams
94825c5cb1 mail went through 2013-06-28 14:37:03 -04:00
Clint Adams
25c7763067 31xxx: Completion/Debian/Command/_dak: complete files for subcommands that are not explicitly specified. 2013-06-28 14:36:04 -04:00