1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-07-12 05:01:27 +02:00
Commit graph

244 commits

Author SHA1 Message Date
dana
80de57d5a6 53527: remove zgetopt
reverts most of 84ef0c523, 0e369f37d, and 9b68cf38f

feature was not ready. may be re-added after 5.10 release
2025-04-28 16:23:29 -05:00
dana
84ef0c5238 53516: add zgetopt contrib function 2025-04-27 07:58:23 -05:00
Bart Schaefer
300ce96080 52910: Improve handling of **/ patterns 2024-05-24 19:24:23 -07:00
Bart Schaefer
2744208ab3 unposted: elaboration on Roman's "slurp" implementation from zsh-users 2024-02-03 20:10:52 -08:00
Bart Schaefer
d6e4ddd4d4 52465: use NULL_GLOB when expanding zmv input pattern to avoid NOMATCH exit 2024-01-05 20:38:58 -08:00
Oliver Kiddle
a920e368b8 unposted (cf. 52166): remove obsolete helper for svk 2023-10-11 00:38:46 +02:00
Jörg Sommer
60479a7a18 51812: run-help for docker, perf, podman, ssh, svnadmin 2023-10-11 00:38:32 +02:00
Jörg Sommer
9eb2b04703 51747: ip accepts the reduction of link to l. 2023-09-21 00:09:36 +02:00
Jörg Sommer
f093b41f09 51776: run-help-openssl: Reduce code and use new manpages
Openssl switches the naming of manpages to the common style
openssl-$SUBCOMMAND, e.g. openssl-enc. For backward compatibility try to
show the manpage with the old name if the new one doesn't exist.
2023-09-21 00:03:59 +02:00
Bart Schaefer
2a854aae48 52028: improvements to _shadow / _unshadow, plus helper and doc 2023-08-27 15:22:14 -07:00
Stephane Chazelas
4f6a1b3717 51813: differentiate empty $2 from omitted $2 in version comparisons 2023-06-22 12:52:12 -07:00
Bart Schaefer
b242121983 51593: improve search for command name after skipping prefix assignments
This is aimed mostly at use of run-help as a standalone function rather
than as a widget.  When run-help is invoked outside widget context,
there's no source line to search for the original command name, so this
attempts searching the arguments.
2023-05-10 21:17:51 -07:00
Bart Schaefer
dd13048b3b 51572: fix "shift" error when running standalone 2023-03-13 19:46:39 -07:00
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 : 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