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
Peter Stephenson
47c440aa2a
32527: zcalc-auto-insert key binding for use in zcalc
2014-04-07 09:58:30 +01:00
Peter Stephenson
965d7305e5
32453: fix zcalc default base handling
2014-03-01 21:27:47 +00:00
Peter Stephenson
22b8fd6da9
32299: add use of underscores on arithmetic output for spacing
2014-01-23 10:32:59 +00:00
Peter Stephenson
9503b161ab
32031 plus missed _run_help: get helpfiles install path corect in functions
2013-11-23 17:44:12 +00:00
Peter Stephenson
12251d65ff
31940: zcalc -e uses arguments as input
2013-11-08 11:34:37 +00:00
Phil Pennock
180c4c049c
31634: run-help compat with alias to noglob/nocorrect
...
Given `alias fetch='noglob fetch'`, without this change `run-help fetch`
recurses to invoke itself on the noglob command, bringing up the help
for noglob. Similarly for nocorrect. Thus the user would have to quit
out of the pager, then avoid quitting out of the loop, so that they can
go into the second iteration and see the help for the second instance
found by `whence -a`, which happens to be the target of the alias.
With common pagers, that's thus 'q', 'not-q'. Somewhat frustrating.
Without this change, `alias foo='noglob bar'` where `foo` is not
otherwise a command would _never_ show the help for `bar`, since it only
showed the help for `noglob` and there was no second line of whence
output to trigger the second pass.
With this change, aliases to `noglob|nocorrect` of a command somewhat
ignore the presence of that precommand modifier; if a command is aliased
to `noglob $itself`, then the result is that the first line of whence
output is shown, no pager is used, the user can immediately see a prompt
to continue and press something other-than-q to see the help for the
command.
If given `alias foo='noglob bar'` then `run-help foo` will immediately
show the help for bar.
This behaviour was chosen to be consistent with the existing alias
support, but just working better with the precommand modifier.
2013-08-07 04:11:56 -04:00
Peter Stephenson
669c070efe
31503: zmv improvements for user-specified programs.
...
-p splits words of commands passed to it.
-P is like -p for when the program doesn't understand the -- convention
2013-07-03 12:46:02 +01:00
Peter Stephenson
ab8fe84a8c
31155: minor extra zcalc features and documentation
2013-03-17 20:52:55 +00:00
Peter Stephenson
136cc1e1b7
31154: make zcalc understand continuation lines with a backslash
2013-03-15 20:15:10 +00:00
Peter Stephenson
26694406f2
users/17666: zcalc -f sets FORCE_FLOAT
2013-03-05 20:06:59 +00:00
Peter Stephenson
07fd604718
Stepan Koltsov: 30634: use (q-) quoting
...
for zmv output for clarity.
2012-08-20 14:03:04 +00:00
Bart Schaefer
38a4364db5
users/17134: avoid bad math error
2012-06-16 04:30:35 +00:00
Peter Stephenson
5e2fe3ca18
30388, 30389 (Stephane): zargs: handle zero-length arguments.
2012-04-12 18:45:59 +00:00
Bart Schaefer
915766c624
unposted (users/16697): use a better output file name when the DISPLAY
...
variable refers to a socket file (MacOS); fix problem with writing the
output file when the user overrides the default value of TERM.
2012-03-01 03:36:48 +00:00
Bart Schaefer
f2bf8fa365
unposted (30090): add -h (help) and -L (list extant hooks) options.
2012-03-01 03:35:49 +00:00
Mikael Magnusson
20c52f6221
28852: Use syntax that doesn't depend on SHORT_LOOPS being set.
2011-08-14 13:40:53 +00:00
Mikael Magnusson
72cb7cfc6f
29307, 29308 + replies: Fix some doubled words in docs and comments.
2011-05-19 16:10:46 +00:00
Peter Stephenson
f2dca9e155
users/15864: turn zsh_directory_name into a hook
2011-03-11 16:32:07 +00:00