1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-26 14:41:10 +01:00
Commit graph

121 commits

Author SHA1 Message Date
Peter Stephenson
f26d1ba6b0 Add features associated with autoloading a function using an absolute
path.

-d defaults to normal fpath

-r remembers the path without actually loading.  May be combined with -d.

-R does the same but it's an error if not found

-X can now take a directory path: this is used to output not yet loaded
functions that have an associated path.
2017-01-11 11:26:13 +00:00
Peter Stephenson
bb218704d2 40306 with doc tweaks: Change behaviour expanding alias in () function definition.
Now an error unless the () is part of the same error as the name.
Add ALIAS_FUNC_DEF option to allow it again.
2017-01-10 19:14:26 +00:00
Peter Stephenson
06b1b7a37a unposted: Release 5.3.1 2016-12-21 18:40:13 +00:00
Peter Stephenson
88752e6cee 40066: updates for 5.3 release 2016-12-02 19:53:13 +00:00
Barton E. Schaefer
a9fe87e18c 40032: consistency in handling of subscript slices outside the bounds of an array parameter
unposted: README: example describing 40032
2016-11-29 12:31:33 -08:00
Daniel Shahaf
b3a88a53d3 39982: $SPROMPT: Don't accept a spelling correction at space/tab.
The patch also downscopes a couple of local variables, with no
functional change.
2016-11-24 08:18:28 +00:00
Barton E. Schaefer
12e862764f unposted: mention former behavior of typeset for comparison 2016-10-26 20:50:51 -07:00
Barton E. Schaefer
0f5e670cde "typeset -p" uses "export" commands or the "-g" option for parameters that are not local to the current scope 2016-10-24 07:14:39 -07:00
Peter Stephenson
dc517212ca 39566: Improve usefulness of command_not_found_handler.
Don't behave as if command not found if return status is non-zero

as this may simply be the return status of the replacement command.
Let the function report a command not found instead.
2016-10-05 12:14:43 +01:00
Daniel Shahaf
73622ae288 39236 (plus typo fix): docs: Tweak _arguments $opt_args documentation added in 39173. 2016-09-08 17:15:40 +00:00
Daniel Shahaf
73c0e8d4e6 39173: _arguments: Escape colons and backslashes in $opt_args unambiguously. 2016-09-06 23:48:10 +00:00
Peter Stephenson
895e9beb29 users/21793: Remove raw integers as glob qualifiers.
There was an ancient undocumented feature that these were treated
as a file mode to "or" with that of the file under test.  The
only documented way of doing this has always been the "f" qualifier,
so removed the effect of raw integers to make errors more obvious.
2016-07-28 09:51:19 +01:00
Peter Stephenson
ab74c86edb 37999: Sticky behaviour of EXIT traps.
They now have POSIX or non-POSIX behaviour based on the setting
of POSIX_TRAPS where the trap was defined, rather than where the
trap would (or would not) be executed.

Tweaks possible.
2016-02-17 10:40:55 +00:00
Daniel Shahaf
43cbfbf821 unposted: Follow-up to 37833: extend description of 37804 in README. 2016-02-07 00:23:11 +00:00
Daniel Shahaf
6b72ff66c0 37833: Document 37804 in README. 2016-01-29 10:19:22 +00:00
Peter Stephenson
ad16356e19 37689: ! and ^ need to be tokenised in character sets 2016-01-19 17:24:12 +00:00
Peter Stephenson
cce4261a3c unposted: Make 5.1.1-test-1 in preparation for 5.2 2015-11-21 18:09:27 +00:00
Peter Stephenson
4353bec49f 37159: Update to NEWS and README 2015-11-19 17:19:12 +00:00
Andrew Janke
8bf72dd65b 36729: fix some typos in distro docs 2015-10-01 09:49:44 +01:00
Daniel Shahaf
9955bbdb9f unposted: docs: Typo fixes 2015-09-14 20:33:03 +00:00
Peter Stephenson
7fca9bb05b Update news for 5.1.1 with minor features just added. 2015-09-11 09:19:42 +01:00
Peter Stephenson
eaea1dc23c unposted: make 5.1-test-1 with updates for 5.1.1 2015-09-06 18:12:09 +01:00
Peter Stephenson
06e1542f5c unposted: update version from 5.0.8 to 5.1 in descriptive text 2015-08-21 10:33:21 +01:00
Peter Stephenson
a2efa4d1c8 36250: add notes on bracketed paste mode to README
Next version will be 5.1 rather than 5.0.9.
2015-08-21 09:46:15 +01:00
Peter Stephenson
39b28980f3 various posts: Implement assignment parsing for typeset.
Typeset assignments now work like raw assignments except
for no "+=" and no GLOB_ASSIGN.

Documented in typeset builtin doc and mentioned in release notes.

Tests to ensure basic sanity.

Enabled by default, can be turned off by "disable -r" with typeset
family of commands.
2015-06-24 10:21:12 +01:00
Daniel Hahler
b884853756 35060 + 35072: completion: git: split __git_heads into local and remote
It is useful to have this distinction visually.

This also uses `--format=%(refname:short)` directly with `git
for-each-ref`.
2015-05-12 00:59:07 +00:00
Peter Stephenson
b29278c69a 35009: updates for 5.0.8 2015-05-01 21:30:23 +01:00
Peter Stephenson
2b8b1a49d5 34290: note FORCE_FLOAT option change 2015-01-15 15:07:26 +00:00
Peter Stephenson
6a04f5b320 unposted: fix error in README 2015-01-14 21:29:29 +00:00
Peter Stephenson
5f4325a0a4 Propagate float/integer type in arithmetic assignment.
Add test.

Mention this and also floating point mod change in README.
2015-01-12 16:38:00 +00:00
Peter Stephenson
43c8bc81cf unposted (discussed offline): update README for integer import vulnerability 2014-10-06 17:16:12 +01:00
Peter Stephenson
8cbff0b82e remove "major" from README 2014-10-02 18:14:13 +01:00
Peter Stephenson
64d32d840d Update source distribution information for 5.0.7. 2014-10-02 17:19:51 +01:00
Peter Stephenson
f8ae47f29b unposted: updates for 5.0.5-dev-1 and subsequent 5.0.6 release 2014-08-10 17:49:55 +01:00
Peter Stephenson
b4cf302fa8 unposted: update another README reference to 5.0.5 2014-01-03 22:49:52 +00:00
Peter Stephenson
a6be223ee2 unposted: update source documentation for 5.0.5 2014-01-03 18:21:42 +00:00
Peter Stephenson
58614f1669 unposted: release 5.0.4, more files updated 2013-12-20 18:28:57 +00:00
Peter Stephenson
247fba1fe2 unposted: release 5.0.4, more files updated 2013-12-20 18:27:56 +00:00
Peter Stephenson
375115c7df unposted: updates for 4.0.2-test-1.
Update references to 4.0.2 to 4.0.3.
Additional mod_export declarations.
Additions to .distfiles.
2013-11-06 19:25:07 +00:00
Peter Stephenson
73ececfd01 31830: New feature for zshaddhistory hooks.
If the first non-zero return status is 2, save the line on the
internal history list, but don't write it out.
2013-10-17 10:14:25 +01:00
Peter Stephenson
0259b7fff0 Wieland Hoffmann: 31029: correct directory in README 2013-02-07 19:53:02 +00:00
Peter Stephenson
daa828bc51 release 5.0.2 2012-12-21 19:35:07 +00:00
Peter Stephenson
2908d73f6c unposted: update for 5.0.0-test-1 2012-12-16 18:39:55 +00:00
Peter Stephenson
321471891e 30718: emulate command evaluations should apply sticky emulation
to autoloads, too
2012-10-07 17:50:18 +00:00
Peter Stephenson
e0c8d8dec3 30509: updates for 5.0.0 2012-06-15 21:23:41 +00:00
Peter Stephenson
db7d0ac341 unposted: 4.3.17 2012-02-23 21:39:30 +00:00
Peter Stephenson
c80d7a63ca 30231, 30232: updates for 4.3.16 2012-02-15 20:41:41 +00:00
Peter Stephenson
09532a70ea unposted: release 4.3.15 2011-12-17 15:15:20 +00:00
Peter Stephenson
79f2f7fa2c unposted: 4.3.14 2011-12-06 19:49:34 +00:00
Peter Stephenson
7d9c12334b update and tigy up for 4.3.12-test-2 2011-10-17 17:30:48 +00:00