1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-16 14:41:02 +02:00
Commit graph

230 commits

Author SHA1 Message Date
Martijn Dekker
2d056ebc31 43945 (tweaked to remove test failure, noted in test):
Fix exit statuses from wait for POSIX_BUILTINS mode.
Also add tests.
2018-12-30 18:11:43 +00:00
Peter Stephenson
c4144bc95b unposted: doc tweak for helpfiles 2018-10-08 10:17:26 +01:00
Peter Stephenson
f99f7dca75 43616: Various parameter setting and display fixes.
Mostly to do with typeset -p and tied variables and their interaction.

Some general tied variable fixes.
2018-10-08 10:10:42 +01:00
Daniel Shahaf
3f2bcceec8 43528: zshbuiltins(1): Document 'which''s "not found is not an error" behaviour. 2018-09-25 23:29:06 +00:00
dana
a435ab530f unposted: Fix trivial formatting error in docs 2018-09-16 18:39:55 -05:00
Peter Stephenson
557d1d7259 42399: document echo and behaviour of - and -- 2018-02-26 19:58:01 +00:00
Martijn Dekker
b432d518e4 42004: fix parentheses in documentation 2017-11-11 12:42:51 +00:00
Daniel Shahaf
3b0c8bdac8 unposted: Document "typeset -p"'s optional argument in the inline synopsis. 2017-10-17 17:59:06 +00:00
Peter Stephenson
728f2adfc8 Add typeset -p1, like typeset -p with newlines 2017-10-01 17:53:56 +01:00
Peter Stephenson
91484e0d42 41679: slight clarification on exec of builtins 2017-09-13 10:47:16 +01:00
Peter Stephenson
27efa0efd4 41470: Another note on new effect of POSIX_BUILTINS
exec now won't find precommand modifiers after it with the
option set.  This may need further attention.
2017-08-01 09:37:26 +01:00
Peter Stephenson
d4b94b5e83 41464, 41466: With POSIX_BUILTINS, exec only executes sexternal commands.
Document the default behaviour and add a test.
2017-07-27 09:22:04 +01:00
Peter Stephenson
d5c22d356b 41244: Add zmodload -s option.
Doesn't complain if module is unavailable, but prints more
obscure errors.

Use existing low-level silent flag by passing through
intermediate module loading hierarchy.
2017-06-12 10:10:23 +01:00
Barton E. Schaefer
eaeebeb8bb unposted: minor formatting: var() instead of tt(). 2017-04-01 15:23:43 -07:00
Daniel Shahaf
d044530afd 40816: Document interaction of 'print -P' and 'print -f'. 2017-03-12 19:37:18 +00:00
Peter Stephenson
47c05f6b66 40622 with typos fixed: functions -Ms.
This adds the capability for mathematical functions based on shell
functions to have a string argument.  Module functions have had
this for a long time.
2017-03-01 10:01:01 +00:00
Peter Stephenson
d8c66e65a2 40537: Document previous change to autoload 2017-02-13 16:34:27 +00:00
Peter Stephenson
c861b17bbf 40391: Add WARN_NESTED_VAR option and functions -W.
These are companions to WARN_CREATED_GLOBAL, warning when a variable
from an enclosing scope is altered.
2017-01-23 09:50:57 +00:00
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
Phil Pennock
1db0eea95a 40318 (in part): Document echo \c behaviour. 2017-01-10 03:48:25 +00:00
Eitan Adler
110ffae9fe 40035: Cosmetic fixes for comments and documentation.
Mostly fixes to doubled words.
2016-11-29 17:13:52 +00:00
Oliver Kiddle
4b41e33cbc 39389: when printf -v is used with an array use separate elements each time the format is reused 2016-11-05 00:27:47 +01:00
Barton E. Schaefer
0a5bf8e767 unposted: update or remove references to typeset behavior obsoleted by 35586. 2016-09-30 15:57:15 -07:00
Oliver Kiddle
fc286168ed unposted: fix duplicated words 2016-07-08 22:21:42 +02:00
Daniel Shahaf
7badf262c1 38653 + 38657: 'functions -T' tracing: recurse into anonymous functions. 2016-06-13 08:53:18 +00:00
Axel Beckert
1bf2ba4f19 unposted: Doc/Zsh/builtins.yo: Fix typo
Found by Debian's lintian tool.
2016-05-06 21:32:11 +02:00
Barton E. Schaefer
1ea94513cc Dmitry Marakasov: 38162: accept G for gigabytes in limit command
from github pull request - some formatting edited
2016-03-26 09:45:47 -07:00
Peter Stephenson
db3f2d253c 37893: document typeset -U behaviour for PATH-style variables 2016-02-09 16:03:36 +00:00
Daniel Shahaf
b0706d64ee 37896: zshbuiltins: Document argv behaviour of 'source' without arguments 2016-02-09 03:39:17 +00:00
Barton E. Schaefer
0baf57701c 37845: Forward-reference typeset instances where no parameter is created, and remove the obsolete statement about array assignments separated from typeset command on -p. 2016-01-31 15:17:44 -08:00
Barton E. Schaefer
31d0bc1cdc 37844: reorder typeset introduction to keep related concepts together. 2016-01-30 13:07:04 -08:00
Daniel Shahaf
3b69b121de 37831: typeset: Document exit status difference from parameter assignment statements 2016-01-30 07:37:46 +00:00
Barton E. Schaefer
03adf52414 37493: readonly + POSIX_BUILTINS == typeset -gr 2016-01-02 12:40:31 -08:00
Barton E. Schaefer
15b73ea99b 37467: add "print -v var" / "printf -v var" 2015-12-31 12:38:10 -08:00
Peter Stephenson
dfd761058e 37310: effect of disabling typeset reserved word 2015-12-07 09:44:06 +00:00
Jun-ichi Takimoto
d5ba08af49 unposted: a few cosmetic format fixes in docs 2015-11-13 01:03:38 +09:00
Peter Stephenson
ba36967b57 37038: add -l option to emulate to list options in emulations 2015-11-01 18:12:40 +00:00
Barton E. Schaefer
d1a810b000 remove sentence fragment 2015-09-30 19:58:43 -07: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
18d82a6c40 cf. users/20586: clean up cross-references to the "Autoloading Functions" doc 2015-09-18 10:10:35 -07:00
Jun T
bde91914df 36067: fix typo and format in the documentation 2015-08-11 13:07:59 +09: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
Barton E. Schaefer
229bc3cc74 35350: extend "fc -I" to cover listing of "internal" history events only 2015-06-06 12:31:47 -07:00
Peter Stephenson
2abba7243a 35386: expand tabs where useful in builtins outputing function.
Also add to zed -f.

Option is -x <numm>.
2015-06-05 11:21:22 +01:00
Peter Stephenson
93e72ed1e9 35353: print -x and print -X expand tabs 2015-06-02 09:17:04 +01:00
Barton E. Schaefer
911edc5ea4 users/20238: add "fc -L" to operate only on the local shell history
Also avoid invoking the editor on empty results.
2015-05-30 15:22:09 -07:00
Peter Stephenson
2b08d0ed67 35318: POSIX_BUILTINS behaviour for getopts.
It needs to keep OPTIND, as well as the index within the
string pointed to by OPTIND, global in this case.
2015-05-28 18:32:39 +01:00
Jun-ichi Takimoto
0a97508bf6 35289: fix typos in the description of emulate
based on 34981 by Han Pingtian
2015-05-26 23:12:37 +09:00
Peter Stephenson
ff19094669 35193: Add "unalias -a". 2015-05-18 16:57:08 +01:00
Jun-ichi Takimoto
ffdeb1c257 35075: improve manual format
also fixed a ChangeLog entry for 35034 (2015-05-06)
2015-05-12 00:36:18 +09:00