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

8048 commits

Author SHA1 Message Date
Peter Stephenson
09f29ef00c Fix merge conflict 2014-06-02 14:33:39 +01:00
Daniel Shahaf
06a4913245 users/18870: fix glob scanner insert counting check.
Was causing problems with globs in paths with (Y) glob qualifier
2014-06-02 14:32:51 +01:00
Daniel Shahaf
b85b09b78b 32662: vcs_info git: Fix stagedstr for empty repos
In empty repositories, HEAD is an unresolvable symbolic ref.  Start computing
stagedstr/unstagedstr in that case; for the former, use a different method
than the non-empty-repository case.
2014-06-02 15:17:04 +02:00
Barton E. Schaefer
f5ad1ccbd6 32653: complete files with the ".phar" extension as well as ".php"
Also respect the suffixes zstyle to change the extensions
2014-06-01 15:21:13 -07:00
Barton E. Schaefer
19f3161e51 32634: add POSIX_ARGZERO option 2014-06-01 15:01:37 -07:00
Daniel Shahaf
10ae77c0cf users/18857: add (Y) glob qualifier to generate only one match per pattern 2014-06-01 14:18:21 -07:00
Peter Stephenson
501f2003a8 32640: (#q) in [[ ... ]] forces globbing 2014-06-01 20:55:39 +01:00
Peter Stephenson
880020ca2e 32624: use correct scaling factor (clock ticks) for times 2014-05-29 21:40:33 +01:00
Peter Stephenson
5554cf8244 users/18860: man -M overrides manpath 2014-05-29 21:39:02 +01:00
Peter Stephenson
1cc3424cbe unposted: use DIGBUFSIZE for pipestatus numeric buffer 2014-05-29 20:17:30 +01:00
Daniel Shahaf
e65a221439 32620: Typo fix after commit eb4c70d 2014-05-29 16:50:08 +02:00
Daniel Shahaf
55d5feed30 32621: vcs_info svn: 'Fix set-branch-format' when in subdirs
The previous code would fail to detect the wcroot with Subversion 1.7+
when cwd is at least two levels below the root (i.e., ../../.svn exists
and ../.svn doesn't), and would then pass to the hook the revision and
basename of cwd rather than of the wcroot.
2014-05-29 16:50:07 +02:00
Daniel Shahaf
bb271217fe 32619: vcs_info svn: Use the revision of cwd
Previously, the value of the wc root would be used.  In Subversion,
it makes more sense to use the revision of cwd, since all commands
(e.g., 'svn ci', 'svnversion') operate only on cwd and below, not on
wcroot and below.
2014-05-29 16:50:07 +02:00
Jun T
d082827c83 32616: bad printf arguments for limits 2014-05-18 18:23:16 +01:00
Peter Stephenson
3ff598bf46 users/18827 plus tweaks to original comments: hg bookmarks extraction improvement 2014-05-16 09:39:25 +01:00
Barton E. Schaefer
9d47e8398d 32609: [[ $var ]] behaves as [[ -n $var ]] for bash/ksh compatibility
Also restore ksh [ -t ] compatibility when POSIX_BUILTINS is not set, and
allow operators defined by modules to be called with no arguments, although
this affects only runtime interpretation, not parsing.
2014-05-13 08:16:50 -07:00
Eric Cook
e1ff0a8bab 32603: fix documentation of status after try / always 2014-05-09 09:53:44 +01:00
m0viefreak
f5fe52c495 32600: in _arguments, "-" is not an option letter after another "-" 2014-05-08 14:24:31 +01:00
Daniel Shahaf
6a201af341 32597: vcs_info git: Describe detached heads symbolically.
This makes %b expand to a refname rather than a sha1 when HEAD is detached but
happens to match some ref (branch, tag, etc).  The resulting output will
typically contain a slash (e.g., "tags/v1.0.2", "heads/mybranch"), which helps
distinguish it from the output in the "HEAD is a symbolic ref" case.
2014-05-06 14:22:10 +02:00
Tomoki Sekiyama
0da28f323d 32592: add CORRECT_IGNORE_FILE variable 2014-04-29 10:44:09 +01:00
Peter Stephenson
9cd7ffe529 Fix merge conflict 2014-04-26 21:12:02 +01:00
Barton E. Schaefer
979f72199f 32580: avoid indefinite wait in lockhistfile() by checking for lock file time stamp in the future
Also change behavior of HIST_FCNTL_LOCK to use only fcntl() locking, rather
than applying both kinds of lock.
2014-04-25 08:30:18 -07:00
Sebastien Alaiwan
7b1b1dbb45 32562: updates for bzr completion 2014-04-23 16:18:01 +01:00
Jasper Lievisse Adriaanse
315c607445 32558: _XOPEN_SOURCE_EXTENDED now OK on OpenBSD 2014-04-23 16:14:41 +01:00
Barton E. Schaefer
9da59238ff 32569: lastval ($?) should not be reset between word list substitution and loop body execution in for/select
Remove one other redundant and therefore confusing assignment to lastval.
2014-04-20 11:09:51 -07:00
Barton E. Schaefer
848badaa5f 32568: consistency in handling of errflag condition during substitutions
Affects for/select word lists, function definition name position, and
anonymous function argument lists.
2014-04-20 10:27:15 -07:00
Andrew Waldron
8189e12312 32552 (updated by 32560): fix segfault when using process substitution in anonymous function argument list
Also disallow process substitution in function name position.
2014-04-18 07:30:36 -07:00
Jun T
d9935915b7 32546: better handling of ignored files with _path_files -W prefixes 2014-04-15 20:59:27 -07:00
Barton E. Schaefer
31e2ae380a 32540: in doexpandhist(), discard saved line position data rather than restoring from it (updates 32531). 2014-04-13 01:26:07 -07:00
Barton E. Schaefer
141089231c Merge branch 'master' of git://git.code.sf.net/p/zsh/code
Conflicts:
	ChangeLog
2014-04-07 07:21:21 -07:00
Peter Stephenson
08d4a6136e addition to 32527: also update .distfiles 2014-04-07 09:59:35 +01:00
Peter Stephenson
47c440aa2a 32527: zcalc-auto-insert key binding for use in zcalc 2014-04-07 09:58:30 +01:00
Barton E. Schaefer
2be3ff58e2 Fix email address 2014-04-06 09:59:34 -07:00
Barton E. Schaefer
21d01000be unposted: fix typo 2014-04-06 09:57:20 -07:00
Barton E. Schaefer
f61037a0b0 32531: fix memory leaks detected by valgrind 2014-04-06 09:55:49 -07:00
Sebastian Ramacher
60bedea3e7 32533: add completion for "apt-mark" 2014-04-06 17:28:46 +01:00
Alessandro Ghedini
d397599cea 32532: completion for "apt" command 2014-04-06 17:26:29 +01:00
llua
fe40b9c2a3 complete zfs ... -o multiple times 2014-04-06 16:57:48 +01:00
Peter Stephenson
141f569c0f 32521: document that LOGNAME comes from getlogin() 2014-04-06 16:54:29 +01:00
Daniel Shahaf
ccc840470a 32528: vcs_info: Document 'post-backend' hook and bzr 'check-for-changes' support. 2014-04-05 10:56:54 +02:00
Daniel Shahaf
eb4c70d0b7 32528: vcs_info: Add check-for-staged-changes 2014-04-05 10:56:52 +02:00
Danek Duvall
4dfe62640a 32505: improved Solaris compatibility for pgrep completion 2014-03-28 20:24:16 +00:00
m0viefreak
cd2eb07a78 m0viefreak: users/18655,18657,18660: assorted auto-removable suffix fixes
Src/Zle/compresult.c, Src/Zle/zle_misc.c, Src/Zle/zle_refresh.c: fix
auto-removable suffix highlighting

Completion/Unix/Command/_git: fix compadd for auto-removable suffix in
_git_commit_ranges and _git_stash
2014-03-23 13:02:12 -07:00
Takeshi Banse
ab917d4a0e 32502: fix typo in argument list for git completio 2014-03-21 19:42:02 +00:00
Peter Stephenson
9c3733e8f7 Merge branch 'master' of https://git.code.sf.net/p/zsh/code 2014-03-20 15:14:49 +00:00
Peter Stephenson
86873edea9 users/18644: bindkey -s doc should have forward reference.
Indicate there is documentation for the argument strings.
2014-03-20 15:14:20 +00:00
Barton E. Schaefer
8672d19f0c 32500: handle interrupts during pattern matching 2014-03-20 07:56:30 -07:00
Peter Stephenson
fd4ac0a8c2 unposted: in Perforce path completion complete depots after // 2014-03-20 09:35:18 +00:00
Barton E. Schaefer
da57ddb7c8 32497: avoid using comptesteval in the middle of a series of tests
The change in control required for sourcing the command file can confuse
the simulated interactive input
2014-03-18 09:57:47 -07:00
Jun T
848065a5a2 32494: Yodl hack to fix indents in manual page output 2014-03-17 16:17:20 +00:00