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

9001 commits

Author SHA1 Message Date
Daniel Shahaf
cd1cda9d57 36725: vcs_info git: Compute %b correctly when rebasing detached heads.
This sets the %b expando to the hash of the before-the-merge HEAD, rather
than to the literal string "detached HEAD".  That hash is already available
via the gen-applied-string hook.
2015-09-30 21:43:37 +00:00
Daniel Shahaf
7ac34a3055 36725: vcs_info git: Compute %b correctly when merging to detached heads.
The %b expando should be the hash prior to the merge.  The hash of the merge
result is available as the %i expando and via the gen-applied-string hook.
2015-09-30 21:43:37 +00:00
Jun-ichi Takimoto
756526eef3 36697: handle options of _arguments correctly 2015-09-30 23:56:14 +09:00
Peter Stephenson
5336587307 36711: Allocate unmetafied pattern trial string on the heap 2015-09-30 10:19:16 +01:00
Barton E. Schaefer
a5a6c58ff8 unposted: fix typo in comment. 2015-09-29 13:36:43 -07:00
Peter Stephenson
d07783628e 36700: unmetafy early for parameter match 2015-09-29 19:47:21 +01:00
Peter Stephenson
f9d7651c25 36682: expand pattern interface to optimise unmetafication 2015-09-28 20:31:51 +01:00
Daniel Shahaf
a5cb918d40 unposted: Test for 36669 2015-09-28 18:13:52 +00:00
Daniel Hahler
45bdc87a1f 36601: vcs_info: handle missing .git/rebase-apply/{next,msg-clean}
When pressing Ctrl-C after `git am`, only `last` exists in
`.git/rebase-apply/`, which is empty.

This patch fixes it to fall back to "no patch applied" then.
2015-09-28 20:03:12 +02:00
Barton E. Schaefer
4bed2cf256 36669: fix ${(z)...} of an an incomplete math expression by restoring "((" at the front of the token 2015-09-27 23:56:38 -07:00
Daniel Shahaf
6d6b63c884 unposted: Update link to my ChangeLog generator script,
on account of patching it to handle commas properly (thanks Mikael).
2015-09-28 01:23:13 +00:00
Mikael Magnusson
d85a1fcd88 unposted: Fix broken case condition and "qualifer" typo 2015-09-28 02:24:54 +02:00
Daniel Shahaf
2654cb43f6 36651: WARN_CREATE_GLOBAL += math expressions
Without this, '() { (( x=42 )) }' and '() { for (( i=0; … )) }' wouldn't warn
about $x and $i, respectively, being created global.
2015-09-27 23:52:25 +00:00
Matthew Martin
36abe20c0f 36653: OpenBSD's usermod has no -a flag 2015-09-27 23:41:45 +00:00
Barton E. Schaefer
7e4784f901 36663: replace obsolete "autobins" commentary with "autofeatures" 2015-09-27 12:43:25 -07:00
Barton E. Schaefer
c2254cfe2c 36661: replace obsolete "autobins" setting with "autofeatures" 2015-09-27 12:43:03 -07:00
Jun-ichi Takimoto
0cfa2dcfc4 36631: separate _zsh from _sh
Do all the completion for zsh by _arguments
2015-09-28 00:09:03 +09:00
Barton E. Schaefer
50721a1986 36641: fix multibyte handling in incremental search during menu selection 2015-09-26 13:46:20 -07:00
Daniel Shahaf
92584634d3 unposted (see 36633): _hg: Enable --option=value syntax and disable '-xy Xarg Yarg' syntax
This simply removes the '-w' argument to _arguments and changes
{-x+,--foo} to {-x+,--foo=} throughout the file.
2015-09-26 00:21:18 +00:00
Daniel Shahaf
8165b488cb unposted: zle: Document the C helper function processcmd().
Also, tweak the docstring of zlelineasstring().
2015-09-25 23:38:41 +00:00
Christoph Mathys
61fa5f66f0 36626: _hg: completion for 'hg bookmarks' 2015-09-25 23:20:09 +00:00
Peter Stephenson
649d06a8cd 36630: new function zsh_directory_name_generic 2015-09-25 21:30:34 +01:00
Barton E. Schaefer
377e2400b7 36623: document bracketed-paste-magic and url-quote-magic; add cross-reference to vim text object widgets 2015-09-24 18:46:27 -07:00
Mikael Magnusson
bd5806aa0a 36603: glob: fix dirfd leak during Y shortcut qualifier 2015-09-24 20:52:56 +02:00
Daniel Shahaf
4c935b9f85 unposted: _hg: Declare $expl as an array 2015-09-24 16:15:18 +00:00
Christoph Mathys
1aafc028b3 36613: _hg: extend completion for hg push to support branch and bookmark 2015-09-24 16:12:57 +00:00
Barton E. Schaefer
8d5c0c7760 36604: fix getopts+shift calculation 2015-09-23 23:16:38 -07:00
Daniel Shahaf
1b5987cdb1 unposted: Followup to 36586: Change C99 comment syntax to the C89 syntax. 2015-09-23 21:41:13 +00:00
Eric Cook
002d68525c 36571: Completion for zsocket and updated losetup's completion 2015-09-23 01:14:08 +02:00
Mikael Magnusson
0f2f34363d unposted: replace multi-byte curly-quotes with plain quotes in ChangeLog entry 2015-09-23 01:13:26 +02:00
Barton E. Schaefer
56ed4df898 36587: use +LINE:COLUMN to place the cursor when invoking emacs variants, for emacsclient 2015-09-22 08:52:52 -07:00
Han Pingtian
acf5bd766a 36586: fix completion match right anchor 2015-09-22 10:18:41 +01:00
Han Pingtian
d2910fd64f 36538: fix description of b and B completion match anchors 2015-09-22 09:58:59 +01:00
Jun-ichi Takimoto
53fcadc1f8 36578: option in a set has key "set-opt" in $opt_args 2015-09-22 11:16:32 +09:00
Peter Stephenson
729f6ddfff 36580: don't copy empty buffer in compmatch.
Also check if length is non-zero when buffer is empty.
2015-09-21 20:33:58 +01:00
Peter Stephenson
8b84419f45 36577: supplement 36559 to using LONG_MAX for 64-bit long 2015-09-21 14:42:22 +01:00
Frank Terbeck
5476e011f1 36576: _tmux: Fix tmux homepage URI 2015-09-21 14:56:50 +02:00
Frank Terbeck
d4a640775f 36575: _tmux: ‘lock-server’ option is gone in tmux.git 2015-09-21 14:56:50 +02:00
Jun-ichi Takimoto
9b35a04f98 36556: complete two or more options for zsh 2015-09-21 21:38:41 +09:00
Peter Stephenson
6fa5f0612b unposted: typo in 36559 2015-09-21 13:27:35 +01:00
Jun-ichi Takimoto
05ec830c94 36574: new completion for the lldb debbuger 2015-09-21 21:08:29 +09:00
Barton E. Schaefer
bdcdb562d9 cf. users/20606: zcompile prepares scripts for sourcing, not for execution 2015-09-19 23:06:55 -07:00
Barton E. Schaefer
e61717b606 36566: check for regular file before lseek() 2015-09-19 23:05:44 -07:00
Barton E. Schaefer
4375d7b905 36562: sanitize $PWD on import, per POSIX 2015-09-19 23:03:39 -07:00
Peter Stephenson
df0d86b847 36559: test earlier for overflow in pattern range 2015-09-19 23:08:46 +01:00
Peter Stephenson
cc44b10da1 unposted: fix typo in test 2015-09-19 20:22:19 +01:00
Barton E. Schaefer
07796811b0 cf. 36554: remove unnecessary pointer dereference 2015-09-19 09:34:05 -07:00
Barton E. Schaefer
18d82a6c40 cf. users/20586: clean up cross-references to the "Autoloading Functions" doc 2015-09-18 10:10:35 -07:00
Barton E. Schaefer
18130bed7f 36552 plus test: fix Nularg string in quotestring(QT_DOLLARS) 2015-09-17 21:44:14 -07:00
Daniel Shahaf
9955bbdb9f unposted: docs: Typo fixes 2015-09-14 20:33:03 +00:00