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

183 commits

Author SHA1 Message Date
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
Peter Stephenson
0c11cb5b47 Greg: 26862: remove unnecessary print 2009-04-21 16:05:34 +00:00
Clint Adams
80bb48a400 26202: show zshmodules(1) for echotc, echoti, sched, zprof, zpty, zsocket, zstyle, and ztcp builtins as well. 2008-12-30 05:40:55 +00:00
Bart Schaefer
e4ae98949c 25814: quote arguments to "eval". 2008-10-10 09:53:22 +00:00
Clint Adams
7e86f2da31 25823: bring up zshcontrib man page if run-help is run on run-help and run-help is a function. 2008-10-07 08:07:04 +00:00
Peter Stephenson
5e7e797ca9 TCP functions: fix some variable handling problems,
also standardise indentation
add-zsh-hook: fix check for existence of hook function in existing hook
2008-08-01 11:48:38 +00:00
Peter Stephenson
0409391c7d 25272: add zshaddhistory hook 2008-07-17 11:27:55 +00:00
Peter Stephenson
ffabab4e74 25276: use autoload -z for zsh-autoload functions 2008-07-11 19:12:22 +00:00
Peter Stephenson
aadd07e05f zcalc completion idiosyncracies with :! 2008-06-13 14:27:37 +00:00
Peter Stephenson
627c7db0e5 zcalc completion idiosyncracies with :! 2008-06-13 14:16:57 +00:00
Peter Stephenson
808b79eba6 improved zcalc escapes and completion 2008-06-13 13:57:04 +00:00
Peter Stephenson
c894f695cc 25095: thorough modernization of prompt theme system 2008-05-17 22:42:16 +00:00
Peter Stephenson
001e8ca70e 24990: Stephane Chazelas: fix various little quirks in zmv 2008-05-11 11:23:30 +00:00