1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-07 09:21:18 +02:00
Commit graph

8236 commits

Author SHA1 Message Date
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
Mikael Magnusson
d904e85904 31483: Call zrefresh() before unqueue()ing signals
Not doing so causes problems for example with this .zshrc

zle -N zle-line-init foo
zle -N set-local-history bar
foo() { zle set-local-history -n 1 }
bar() { zle reset-prompt }
2013-06-27 13:02:23 +02:00
Frank Terbeck
88599a0508 31485: vcs_info, git: Avoid error messages for `guilt' users
Guilt uses the same internal directory for keeping state as stgit, but
it doesn't use the same files (not surprisingly). This caused error
messages due to missing files.

This fixes that by making the "stgit-active?" test stricter.

Reported-by: Axel Beckert <abe@debian.org>
2013-06-18 09:16:59 +02:00
Peter Stephenson
657d546452 Orphaned ChangeLog notes that should have been committed earlier 2013-06-17 09:30:50 +01:00
Peter Stephenson
347a63da0c 31465: fix basic completion and globbing uses of disabled patterns 2013-06-13 18:40:36 +01:00
Peter Stephenson
fdf2867e5f 31444: Basic code for enable/disable -p 2013-06-13 18:38:33 +01:00
Barton E. Schaefer
e36e7d9ade 31474: create patchlevel.h correctly when using a separate build tree 2013-06-13 09:46:43 -07:00
Hong Xu
77feb2c1c4 move comment to individual line in .editorconfig 2013-06-10 10:13:33 +01:00
Bruce Stephens
ee4391d33e 31459: fix alignment of zsh entry in info menu 2013-06-10 10:11:07 +01:00
Barton E. Schaefer
8a35ec4eef 31205: Do not display "(eval)" as a tag context 2013-06-10 00:18:52 -07:00
Barton E. Schaefer
8812e0b825 31466: Cause git and cvs to ignore one another, in case anyone wants to
import this tree into a CVS repository.
2013-06-09 23:43:13 -07:00
Peter Stephenson
68d0d76db5 31441: use array to decide which forms of pattern are enabled 2013-06-01 20:39:09 +01:00
Peter Stephenson
aa0875daa1 31436: document KSH_GLOB doesn't support recursive directories 2013-05-30 16:40:06 +01:00
Peter Stephenson
95c044372a 31433: zcat -f doesn't need suffix .gz 2013-05-29 19:21:34 +01:00
Peter Stephenson
711c103e77 31422: better heuristic for timestamps in age function 2013-05-29 19:20:12 +01:00
Peter Stephenson
a46aef7704 31405: weasel words about PRINT_EXIT_STATUS option. 2013-05-22 20:58:32 +01:00
Peter Stephenson
a4d3b8f676 31419: Add time zone and year to string formatted time output from zstat 2013-05-21 17:42:57 +01:00
Peter Stephenson
692a15363f 31418: improve documentation for "age" function 2013-05-21 17:11:04 +01:00
Peter Stephenson
06e17f8112 Omitted ChangeLog entry for previous commit 2013-05-21 16:18:57 +01:00
Peter Stephenson
17d38259f8 Fix merge 2013-05-21 16:15:29 +01:00
Stephane Chazelas
2989e4b66e 31417: age function needs protection against file names starting "-" 2013-05-21 14:45:52 +01:00
Barton Schaefer
1182a75e1b upon "read" of a short line, assign all variables passed as arguments.
It was noted that (print 1 2 | read one two three four) assigned values
only to $one and $two except in the case where EOF was reached.
2013-05-20 23:38:58 -07:00
Peter Stephenson
aa7467b0bf Improve Perforce jobs completion to limit
potentially huge output using jobview by default;
fix quoting of arguments passed on to eval within _call_program.
2013-05-14 14:25:14 +01:00
Richard Hartmann
bb6e894f27 Add .ogv to mplayer completion 2013-05-10 10:03:12 +01:00
Mihai Moldovan
d88bd1409e Unused function attribute fix for clang compilation 2013-05-10 10:00:52 +01:00
Frank Terbeck
2405b0ac0c 31376: Make sure every execve() is prefixed by winch_unblock()
This was suggested by Bart Schaefer in 31375.
2013-05-05 20:33:36 +02:00
Frank Terbeck
9604bc9a9f Revert "31372: Do not block SIGWINCH for child processes"
This reverts commit f8ab02ad5f.

As Bart suggested in 31375.
2013-05-05 20:33:07 +02:00
Bart Schaefer
f8ab02ad5f 31372: Do not block SIGWINCH for child processes
Something similar may also be needed in the zpty and clone modules.
2013-05-05 11:27:39 +02:00
Kenyon Ralph
3d6d6136e2 31371: _brctl: update brctl subcommands
Add hairpin and showstp. These are available since at least
bridge-utils 1.5.
2013-05-05 11:10:46 +02:00
Peter Stephenson
60e41f9fc8 31369: set locale for completion if locale command is not usable 2013-05-04 16:07:34 +01:00
Bart Schaefer
4e43360261 31361: handle negative optno ("no" prefix used)
when storing options with parseopts_insert() for sticky contexts
2013-04-30 00:22:03 -07:00
Bart Schaefer
f4b0833270 31353: fix handling of floating point in ternary 2013-04-30 00:18:13 -07:00
Bart Schaefer
a700c61c77 31350: block SIGWINCH nearly all the time, except
when about to calculate prompts or do synchronous read, so
syscalls are not interrupted by window size changes.
2013-04-30 00:10:31 -07:00
Bart Schaefer
d19e18c68d 31350: block SIGWINCH nearly all the time, except
when about to calculate prompts or do synchronous read, so
syscalls are not interrupted by window size changes.
2013-04-30 00:08:49 -07:00
Jun T
cbf6f144a9 31357: _cp: add support for Mac OS X
If not GNU nor darwin, assume POSIX.
2013-04-29 17:11:05 +02:00
Peter Stephenson
8ab3a7b0e6 31356: typo in new _comp_locale noted by Bart 2013-04-29 15:07:30 +01:00
Peter Stephenson
8cdb57b3b7 31355: _comp_locale tries to sanitise locales but keep CTYPE;
use this for subversion completion.
2013-04-29 10:08:07 +01:00
Ramkumar Ramachandra
2ea9cd4775 31288: _git: fix shortlog completer
Currently, __git-shortlog () says that 'git shortlog' can only accept
commits as arguments (probably because the official documentation says
this).  This is entirely untrue: shortlog can accept
commit-range-or-file, just like log can.  Fix the completer by copying
out segments from the __git-log () function.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-04-25 14:36:08 +02:00
Ramkumar Ramachandra
cbdedcfbfe 31289: _git: branch.*.pushremote, remote.pushdefault
The configuration variables branch.*.pushremote and remote.pushdefault
are relatively new, and are currently not completed by ZSH.  Fix this.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-04-21 12:12:44 +02:00
Ramkumar Ramachandra
d1a3075293 31286: _git: add a couple of browsers
Add google-chrome/chromium to the list of builtinbrowsers in
__git_browsers ().

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-04-21 12:12:43 +02:00
Torstein Hegge
cc7437bf2f 31159: git: Pass prefix filter to ls-files even if it matches no files
When a branch or tag name is completed with zsh in a large git repo, the
completion is slow if the given prefix doesn't match a file or directory in
the current working directory. Testing with linux.git, which contains release
tags like v3.9 and a directory virt/:

  git log v<tab>

takes about 0.5 seconds, while

  git log v3<tab>

takes about 25 seconds.

(Timed using zsh 4.3.17, on a fairly slow cpu. zsh from git appears to be
quite a bit faster, but the difference between completing v and v3 is still
large.)

The difference between the two is that v<tab> passes the result of v* to git
ls-files while v3<tab> determines that v3* matches no files, and passes an
empty prefix to git ls-files. So git ls-files lists all files in the repo
and passes that on to _multi_parts.

Making git do the expansion of the * after the prefix lets git ls-files v3*
return an empty list, making _multi_parts job easier.

This does not affect the behavior of git log <tab>, but improves the
performance of partial tag and branch tab-completion in the common case where
file names and tag/branch names don't overlap.
2013-04-20 22:29:02 +02:00
Bart Schaefer
fa7c51971d 31272: Avoid double free, get_compctl should not free its arguments. 2013-04-20 08:40:18 -07:00
Jun T
452aa5157a 31281: _du: add support for Mac OS X 2013-04-20 11:56:04 +02:00
Peter Stephenson
7514fe4a66 Daniel Friesel: 31265: improved option handling for devtodo. 2013-04-16 09:46:46 +01:00
Peter Stephenson
b79156ab60 unposted: make git ignore PDF and PS versions of intro file 2013-04-13 20:22:36 +01:00
Peter Stephenson
67a4be36c6 31263 (but changed * to - for consitency):
suppress texinfo warning by giving item an argument
2013-04-12 23:01:25 +01:00
Peter Stephenson
b174a0df05 31261: updates needed with latest texinfo 2013-04-12 22:47:22 +01:00