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

7595 commits

Author SHA1 Message Date
m0viefreak
128de883bd 31753: _git: correct some "undocumented" options
diff options:
  --cumulative is deprecated --> remove
  -G / -S: reword -S to emphase the difference to -G

revision options:
  --abbrev: reword, to emphase the --abbrev-commit requirement
2013-09-22 14:01:15 +02:00
Øystein Walle
cf0eae5d96 31751: _git: remove TODOs of actually documented options
No functional changes.
2013-09-22 14:01:14 +02:00
Øystein Walle
ab05a3d6d4 31749: _git: fix some typos in description texts 2013-09-22 14:01:13 +02:00
m0viefreak
735e7becb9 31748: _git: support completing remote branches without <remote>/ prefix
this is used in git 1.8's
git checkout <branch>
as a shorthand for
git checkout -b <branch> --track <remote>/<branch>
in case <branch> exists on exactly one remote and is not a local branch
2013-09-22 14:01:12 +02:00
m0viefreak
e45f685d4a 31746: _git: reword _git-config TODO
Support for merge drivers, filter drivers, and diff drivers is
missing.
2013-09-22 14:01:12 +02:00
Øystein Walle
5ec6a1510a 31750: _git: add new configuration options to match latest git v1.8.3 2013-09-22 14:01:11 +02:00
Øystein Walle
6c4c11929c 31747: _git: completion updates to match latest git v1.8.3 part 2 2013-09-22 14:01:10 +02:00
m0viefreak
f20ba1a51e 31755: _git: completion updates to match latest git v1.8.3 2013-09-22 14:01:09 +02:00
m0viefreak
06d58592ab 31745: _git: correctly use __git_guard_number in some cases
The space is relevant to make the help text work as intended.
2013-09-22 14:01:08 +02:00
m0viefreak
ef4157fac4 31744: _git: make git submodule <cmd> completion work
The -A parameter in the main completion stopped completion
in the subcommands from working. Remove it.
2013-09-22 14:01:08 +02:00
m0viefreak
2813d8aa98 31743: _git: fix usage of ->int: for some entries in _git-config 2013-09-22 14:01:07 +02:00
m0viefreak
5f427b8245 31741: _git: fix a wrong variable in __git_config_values
This probably was a copy/paste mistake.
2013-09-22 14:01:06 +02:00
Barton E. Schaefer
27f9c515ff unposted: improve an error message. 2013-09-21 16:39:25 -07:00
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