1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-04 22:51:42 +02:00
Commit graph

195 commits

Author SHA1 Message Date
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
Frank Terbeck
9bfc05e3db 28758: make `colors' function work with non-default option sets 2011-02-15 09:28:54 +00:00
Bart Schaefer
828574d953 users/15583: update with zstyles and for ease of use in zle-line-init. 2010-11-27 19:47:00 +00:00
Peter Stephenson
76351e9b69 Jérôme Pouiller: 28351: new help functions 2010-10-18 09:33:42 +00:00
Peter Stephenson
4de3dbac16 c.f. users/15202: use "autoload -Uz" consistently 2010-07-28 14:01:12 +00:00
Peter Stephenson
10c2f225fd c.f. users/15202: use "autoload -Uz" consistently 2010-07-28 13:33:52 +00:00
Peter Stephenson
0d8a580951 users/14752: add #! line to zed
allow script run with -i to exit on return
2010-01-29 21:44:54 +00:00
Peter Stephenson
1d31834223 Julien Jehannet: users/14751: typo in variable name in zed 2010-01-29 20:58:43 +00:00
Peter Stephenson
1c71dfd735 unposted: return status 1 if no replacement 2010-01-19 13:13:56 +00:00
Peter Stephenson
c508c6e368 27604: substitution using regular expressions 2010-01-18 12:47:09 +00:00
Peter Stephenson
8c60540ce6 27577: sergio: (%) is not needed in zcalc prompt since PROMPTPERCENT is obeyed 2010-01-08 09:30:43 +00:00
Peter Stephenson
3b289b32a7 unposted: new run-help-p4 2009-12-16 12:11:56 +00:00
Peter Stephenson
46bad169a8 27492 based on Jörg Sommer: 27473: fix run-help alias problem. 2009-12-16 11:07:09 +00:00
Peter Stephenson
b7e76da2ef Alexey: users/14588: ztodo function and completion 2009-11-22 19:17:32 +00:00
Peter Stephenson
3d8115275f Alexey: users/14588: ztodo function and completion 2009-11-22 19:06:54 +00:00
Peter Stephenson
817000920f 27247: zmv checking for **/ was wrong 2009-09-06 21:35:37 +00:00
Peter Stephenson
dfabf50cf1 27305: fix GNU man option handling in run-help 2009-06-05 11:18:01 +00:00
Peter Stephenson
ad3d514ac7 26973: zmathfuncdef enhancements 2009-05-19 15:33:24 +00:00
Peter Stephenson
7e304940e5 unposted: back off 26862 2009-04-25 20:30:20 +00:00