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

231 commits

Author SHA1 Message Date
Atte Peltomäki
f9bb03cd72 51088: fix standards reference in comment 2022-12-06 20:40:21 -08:00
Peter Stephenson
b82e8e1035 50786: Make match etc. local when used in styles.
Avoids side effects of add-zle-hook-widget.
2022-10-17 16:21:01 +01:00
Julian Prein
6e827d8f9a 50648: Use $ZCALC_HISTORY where appropriate 2022-09-25 18:05:49 +01:00
Bart Schaefer
52761c9418 50335: simplify "wait" usage, fix signal handling
- remove the preliminary "wait" for all the process
- remove "nomonitor" (because it was only needed for that "wait")
- explicitly adds traps to exit for tty-generated signals plus TERM
- capture the signal trap context and restore it in background jobs
- wrap in an "always" block to clean up local helper functions
- update comments to note another buglet and drop support for zsh 4.x.
2022-06-08 20:41:24 -07:00
Peter Stephenson
92da264eea 50286: avoid zed error if nounset is in effect 2022-05-26 09:32:33 +01:00
Bart Schaefer
84dde7c7b6 Jan Brieg: 50212 (and discussion): Add "bright" color variants 2022-05-14 20:34:28 -07:00
Bart Schaefer
67f932e7c5 49897: Eliminate reliance on $jobstates parameter, fix -P exit status check. 2022-03-28 19:47:14 -07:00
Matt Alexander
2876c25a28 49667: Include US spelling of "grey" ("gray")
Co-authored-by: Daniel Shahaf <d.s@daniel.shahaf.name>
2022-01-01 14:47:53 -08:00
Dimitris Apostolou
356dcb20ce github #82: Fix typos 2021-11-12 23:54:34 +01:00
Stephane Chazelas
bb61da36aa 45180: clarify doc for POSIX EREs, fix an issue with PCRE when the replacement was empty or generated more than one element 2021-09-06 14:43:01 -07:00
Marlon Richert
1508dc7486 49218: run-help filters cmd_args before calling run-help-<command> 2021-09-06 13:47:10 -07:00
Daniel Shahaf
a23f19bfbd 48601/0005: zmathfuncdef: Fix the workers/48147 return status / 'set -e' bug.
Not tested.
2021-05-18 02:01:13 +00:00
Bart Schaefer
acd20254b5 48710: histed + other zed updates 2021-05-15 13:37:35 -07:00
Bart Schaefer
5fdd98552d 47489: rename standout as italic 2021-04-19 14:37:32 -07:00
Bart Schaefer
b374f7b318 users/26406: preserve caller setopts in zargs 2021-01-23 13:25:24 -08:00
Jun-ichi Takimoto
34eae73490 47731 (+unposted): add run-help assistant for btrfs
also fix format errors in contrib.yo
2020-12-11 17:27:47 +09:00
Samir Benmendil
f493b438fd 43946: call run-help for the command given to sudo 2020-12-11 17:20:45 +09:00
Daniel Shahaf
0cffb0a6b3 46072 + 46136: Add the 'zle $widget -f nolast' syntax, to improve add-zle-hook-widget support for multiple hook functions.
See workers/46004 for the use-case.
2020-06-27 03:09:31 +00:00
Daniel Shahaf
f6adb79ba5 43685: add-zle-hook-widget: Support running under NO_UNSET ('set -u'). 2018-10-14 14:01:33 +00:00
Oliver Kiddle
594f2ff06e users/23434: initialise UNDO_LIMIT_NO so that an initial undo doesn't clear the whole edit buffer 2018-06-07 17:48:48 +02:00
Sebastian Gniazdowski
52f1c4ffb0 42929 (tweaked): additional default bindings in zed.
Add to both zed and zed-vicmd keymaps.
2018-06-05 09:38:31 +01:00
Sebastian Gniazdowski
abd0040253 41839: force IFS to default for "read" 2018-01-19 22:56:11 -08:00
Peter Stephenson
b2e44bce62 Make mbegin, mend, match local in zed.
Needed for zstyle -m.
2017-08-31 16:55:26 +01:00
Sebastian Gniazdowski
d6d7ef2a0d 41232: Use page up/down keys in zed keymap.
Find with terminfo where available.
2017-06-07 10:01:38 +01:00
Aaron Schrab
7fc15db684 40892: subcommand matching for ip help 2017-03-24 09:46:03 +00:00
Daniel Shahaf
feb4be4a5e 40126: zed (fned): When editing a new function. escape its name.
Example:

    % unfunction \(
    % fned \(
2016-12-09 08:21:07 +00:00
Daniel Shahaf
4f2a1810f2 39495: add-zle-hook-widget: Add end-of-options guard to hook invocation.
Currently, the only special widget that takes arguments is zle-keymap-select.
2016-09-30 23:15:57 +00:00
Barton E. Schaefer
70166178bd 39131: return on error needs to be at the outer scope. 2016-08-30 20:31:21 -07:00
Daniel Shahaf
8e029323a7 unposted: Avoid $0 for POSIX_ARGZERO compatibility. 2016-07-28 18:07:57 +00:00
Daniel Shahaf
74722c7392 unposted: Prefix function's name to its error messages. 2016-07-27 14:04:45 +00:00
Barton E. Schaefer
b3dba0f7c1 Relocate add-zle-hook-widget, everything else in Functions/Zle is a widget. 2016-07-17 12:07:43 -07:00
Peter Stephenson
a7d5d239e6 38783: zcalc tweaks for RPN mode.
Make it more straightforward to exchange variables with stack.
2016-07-04 12:08:14 +01:00
Peter Stephenson
26c01f5711 38737: clean up zcalc variables.
Undocumented variables now start with "_".
2016-06-21 17:26:35 +01:00
Peter Stephenson
5103c85abb 38736: various RPN mode enhancements for zcalc 2016-06-21 16:34:55 +01:00
Barton E. Schaefer
61a383ec4d unposted: zed needs localoptions noksharrays 2016-06-18 16:18:52 -07:00
Peter Stephenson
4cacf1624f 38693: Add RPN mode to zcalc 2016-06-16 11:39:42 +01:00
Kamil Dudka
c7edb354c7 37814: run-help-ip: use an absolute path for the shebang. 2016-01-28 20:55:23 -05:00
Barton E. Schaefer
aedff53d1f users/21082 (expanded): a more complete sorting of version strings that are not in the form of zsh version numbers; additional explanatory comment 2015-12-19 22:03:34 -08:00
Peter Stephenson
8efa4b4088 unposted: ZCALCPROMPT created globally in zcalc 2015-11-27 09:31:46 +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
607a7a85b6 36993: zed: fix argument parsing 2015-10-31 19:06:47 +01:00
Peter Stephenson
0628802baf 37014: Improved internal parameter setting.
Enhance WARNCREATEGLOBAL to work in many more cases.

Don't create REPLY as an integer if it didn't previously exist
as one, even if the value to be set is integral, as this is likely to
mess up later uses of REPLY.
2015-10-29 15:01:07 +00:00
Peter Stephenson
196e6a0ec0 36735: add ~/.zcalcrc handling to zcalc 2015-10-01 15:55:01 +01:00
Barton E. Schaefer
8d5c0c7760 36604: fix getopts+shift calculation 2015-09-23 23:16:38 -07:00
Barton E. Schaefer
e0980e91be 35937: wait for process IDs instead of job numbers in parallel mode 2015-07-27 09:44:10 -07:00
Oliver Kiddle
a925d036fc 35815: fix for lack of startup output from newer nslookup 2015-07-23 05:25:37 +02: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
Mikael Magnusson
62b0e611ce 30568: Add tetriscurses contrib function, port of tetris to zcurses 2015-01-09 12:49:56 +01:00
Artur Penttinen
8505837f89 19371 plus tweak: run-help helper for ip 2014-11-13 20:25:00 +00:00
Peter Stephenson
cc6e9db29d 33047: use git to simplify massively source distribution file selection 2014-08-23 21:01:58 +01:00