1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-01 06:20:55 +01:00
Commit graph

9154 commits

Author SHA1 Message Date
Daniel Shahaf
ebb0d7ddaa 37256: _debchange (_dch): Update completion. 2015-11-30 16:02:47 +00:00
Daniel Shahaf
502d55c014 37252: vcs_info git: Compute %b correctly with "rebase --onto" of detached heads. (Follow-up to 36725.) 2015-11-30 03:42:47 +00:00
Daniel Shahaf
4202c90b6d 37254: No functional change: change code layout in preparation for 37253. 2015-11-30 03:42:46 +00:00
Daniel Shahaf
503fa5cd9e 37250: No functional change: rename local variables. 2015-11-30 03:42:45 +00:00
Peter Stephenson
fa40bfac03 unposted: 5.1.1-test-3 2015-11-29 21:50:45 +00:00
Daniel Shahaf
324a82b360 unposted (after 37243): Explain the breadcrumb by adding a comment. 2015-11-28 17:48:26 +00:00
Barton E. Schaefer
c7c51eca16 Fix conflicts in ChangeLog 2015-11-27 11:22:49 -08:00
Barton E. Schaefer
026cb6a812 37243: too many problems with inserting a line into B02, instead add a placeholder and substitute for it.
unposted: %cleanup block is not called when %prep sets ZTST_unimplemented,
so avoid leaving a mess
2015-11-27 11:20:33 -08:00
Peter Stephenson
8efa4b4088 unposted: ZCALCPROMPT created globally in zcalc 2015-11-27 09:31:46 +00:00
Daniel Shahaf
694aee4c3d 37214: 'prompt walters': Don't export PS1 2015-11-27 07:27:23 +00:00
Daniel Shahaf
06a24d3747 37163: Remove curl completion 2015-11-27 07:27:09 +00:00
Daniel Shahaf
2ab41d508d 37215: _regex_words: Don't add mismatched parentheses
I ran into this in the wild¹, it manifested as the following error message:

    zregexparse:4: not enough regex arguments

¹ https://bug.tasktools.org/browse/TW-1729
2015-11-27 07:26:38 +00:00
Barton E. Schaefer
3d962aacd5 37229: non-local assignment to a parameter name whose outermost declaration is private, is an error rather than a silent no-op.
Also fix %prep sed expression for Solaris.
2015-11-26 12:43:08 -08:00
Barton E. Schaefer
211889c982 Comment should say export is equivalent to typeset -xg 2015-11-26 11:15:51 -08:00
Barton E. Schaefer
2bab9f0394 37225: fix test for typeset with zsh/param/private 2015-11-26 09:30:05 -08:00
Barton E. Schaefer
e4aec8c197 37224: delete obsolete comment 2015-11-26 09:28:59 -08:00
Matthew Martin
d590646673 37100: update for sysctl completion 2015-11-26 09:37:50 +00:00
Peter Stephenson
78abc72f64 unposted: 5.1.1-test-2 2015-11-25 19:30:26 +00:00
Barton E. Schaefer
9e06828a7f 37208: check for restricted parameter before changing from unset to set
Also, return NULL from setnparam() on failure to retrieve value (avoids
null-pointer dereference); add some expository comments
2015-11-23 21:48:49 -08:00
Barton E. Schaefer
e73b73e0b0 37208: re-run the "typeset" tests with the private module loaded 2015-11-23 21:45:24 -08:00
Barton E. Schaefer
4e90e27036 37208: assignment in a nested scope should not change private parameters in the outer scope from unset to set
Bug remains that the attempt does not generate a warning
2015-11-23 21:43:14 -08:00
Barton E. Schaefer
bc30d6bfca 37206: fix ${(t)param} for "typeset -H param" 2015-11-23 19:18:44 -08:00
Barton E. Schaefer
4e87006fc7 37205: update documentary comment 2015-11-23 11:27:22 -08:00
Barton E. Schaefer
b33617e08b unposted: 20974 -> users/20974 because pedantic 2015-11-23 11:14:32 -08:00
Peter Stephenson
58d040fd85 37203: WARN_CREATE_GLOBAL test in wrong place for associative array 2015-11-23 15:50:13 +00:00
Matthew Martin
6fe05eac84 37201: change quoting to handle group names with spaces 2015-11-22 19:57:51 -08:00
Barton E. Schaefer
14487ff5cc 37192: silence WARN_CREATE_GLOBAL in prompt themes 2015-11-22 10:19:49 -08:00
Peter Stephenson
acbd2ca701 37191: fix strftime() expansion issue with %p and %P.
In some locales the output from this can validly be empty, so
we need to treat them specially.
2015-11-22 18:14:13 +00:00
Peter Stephenson
544144debe 37188: New hash builtin test 2015-11-22 16:53:57 +00:00
Peter Stephenson
b0323cab3b 37187: infinite loop in "hash -m" 2015-11-22 16:25:06 +00:00
Peter Stephenson
ae4cf7b743 37186: a couple more WARN_CREATE_GLOBAL fixes 2015-11-22 16:06:20 +00:00
Barton E. Schaefer
b1688305cc 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 2015-11-21 23:56:25 -08:00
Peter Stephenson
cce4261a3c unposted: Make 5.1.1-test-1 in preparation for 5.2 2015-11-21 18:09:27 +00:00
Barton E. Schaefer
e59a857b69 unposted: document order of entries for $history and $historywords 2015-11-20 14:15:43 -08:00
Mikael Magnusson
ae0420c46a 37161: Disable the heuristic setting RPROMPT_INDENT to 0 2015-11-20 14:33:44 +01:00
Peter Stephenson
4add525883 37170: suppress global create warning in function 2015-11-20 12:42:35 +00:00
Peter Stephenson
2737ae4a66 37168: No WARN_CREATE_GLOBAL on special parameters 2015-11-20 11:55:07 +00:00
Peter Stephenson
72a67716ac 20974: Bug with scalar assignment to special array in typeset 2015-11-20 11:18:16 +00:00
Daniel Shahaf
c563f1ba83 37164: _tmux: Complete external commands 2015-11-20 03:39:52 +00:00
Daniel Shahaf
d554f31bcb 37149: _git: Complete 'bisect/bad' ref 2015-11-20 03:39:34 +00:00
Peter Stephenson
4353bec49f 37159: Update to NEWS and README 2015-11-19 17:19:12 +00:00
Peter Stephenson
5d0859a401 unposted: describe separators between values in array assignment 2015-11-19 14:19:40 +00:00
Barton E. Schaefer
59235205c6 37145: suppress alias expansion in skipcomm()
Thus defer parsing aliases in $(...) et al. into the subshell
2015-11-18 11:11:37 -08:00
Peter Stephenson
f39ae235a2 37140: note that <<(...) is < <(...) 2015-11-18 14:58:43 +00:00
Daniel Shahaf
afc4d41652 37129: _git: Complete 'commit -p' 2015-11-17 23:31:26 +00:00
Peter Stephenson
ca0cb17011 37128: work around alias expansion trashing subscript parsing 2015-11-17 17:44:12 +00:00
Peter Stephenson
bc543abbf6 37127: document indexing of $signals 2015-11-17 10:43:23 +00:00
Eric Cook
8d1e882b78 zed: Add -- to the `functions' builtin calls
Reported on IRC:

% autoload zed; zed -f -- "-zgen-prezto-load"
zed:83: bad option: -g
-zgen-prezto-load() {
}
2015-11-16 02:58:03 +01:00
Eric Cook
f01cf05e53 _sockstat: minor improvements
allow -p, -P and -f's argument to be completed in the same word.

Complete -P's argument using /etc/protocols again, while allowing a
comma delimited list of protocols.
2015-11-16 02:50:24 +01:00
Barton E. Schaefer
a24487d73a 37119: further "Rules" clarifications 2015-11-15 10:16:52 -08:00