1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-10-03 01:11:37 +02:00
Commit Graph

459 Commits

Author SHA1 Message Date
Sven Wischnowsky
4414e16a6a don't list when all matches look the same; force-list style to give users control over this (11140) 2000-05-04 07:44:21 +00:00
Sven Wischnowsky
aa0381bd2b allow `-' in exclusion lists for _arguments, to avoid completing all options (11121) 2000-05-03 14:44:01 +00:00
Sven Wischnowsky
17e79c0157 fix for the (z) flag: report partial word (like `"foo', without a closing quote); mention in manual that (z) is handled lately (11117) 2000-05-03 13:05:39 +00:00
Sven Wischnowsky
70e5b622ff new (z) parameter flag to do shell-word splitting on the value (11113) 2000-05-03 12:21:55 +00:00
Sven Wischnowsky
0d6350d65a remove backslashes before $' in _expand when substitute' is unset; fix for clearing end-of-list lines in menu-selection (11110) 2000-05-03 11:52:00 +00:00
Sven Wischnowsky
b5594215dd make sure that completion messages are displayed even when there are no matches (11092) 2000-05-03 08:35:33 +00:00
Sven Wischnowsky
d205f2530b allow calling `print -s' in widgets, avoid duplicated history number 2000-05-03 07:10:35 +00:00
Bart Schaefer
966eca4ad8 11036, 11063, 11077: Always write the "read -q" prompt to shout; eliminate
some redundant close() calls; relocate a misplaced redirection.
2000-05-02 15:52:43 +00:00
Andrew Main
9191ac7b2b zefram103: Src/Makemod.in.in: make sure .{e,}pro files are
non-empty, to keep the AIX compiler quiet.
2000-05-02 13:42:42 +00:00
Peter Stephenson
9420498acf 11066: false || true was trigerring trap on ZERR 2000-05-02 13:08:19 +00:00
Sven Wischnowsky
997d40c05d add -x option to compadd to display message unconditionally 2000-05-02 10:30:41 +00:00
Peter Stephenson
304d5f9b39 11057: getopts bug 2000-05-02 09:56:09 +00:00
Sven Wischnowsky
d67ca6872e fix for _arguments, use on-line-argument-numbers only for normal arguments, not for arguments of options (11052) 2000-05-02 08:56:28 +00:00
Bart Schaefer
eebc051863 11032: Fix signed-ness of a local. 2000-04-30 18:51:58 +00:00
Oliver Kiddle
ddd8614e51 AIX dependency fixes 2000-04-30 17:58:35 +00:00
Bart Schaefer
3e43e50992 11029: Some missing bits of merging 11015 with 11026. 2000-04-30 17:09:08 +00:00
Peter Stephenson
563936ba27 11026: fix for unfunction of trap with localtraps bug 2000-04-30 14:48:49 +00:00
Bart Schaefer
8496342841 11015: `unfunction TRAPxxx' now works with localtraps in effect. I'm not
very happy with having to play with `noerrs' but I don't see any other way
to silence the warning from bin_unhash().
2000-04-29 06:33:48 +00:00
Sven Wischnowsky
5a3fe9220d misplaced cursor with partial-word matching (11007) 2000-04-28 12:42:24 +00:00
Sven Wischnowsky
b577adea40 fix for reporting multiple actions in comparguments, options with non-optional arguments (11003) 2000-04-28 11:16:52 +00:00
Sven Wischnowsky
b19f915a4f avoid wrapping around both horizontally and vertically at the same time (10992) 2000-04-28 07:39:08 +00:00
Sven Wischnowsky
a35472cb31 better wrap around for cursor movement widgets; avoid flicker when leaving menu-selection (10978) 2000-04-27 13:40:52 +00:00
Peter Stephenson
ba2ea72753 10971: **/... always globbed dots 2000-04-27 10:58:49 +00:00
Sven Wischnowsky
eb2bfcd555 fix for parse error with left-anchored patterns (10963) 2000-04-27 09:04:32 +00:00
Sven Wischnowsky
77f5b71cec make menu-selection handle undefined-key (10961) 2000-04-27 08:55:06 +00:00
Sven Wischnowsky
8974ab59c0 *** empty log message *** 2000-04-27 08:23:33 +00:00
Sven Wischnowsky
ad31ce0db8 renamed parameters for menu selection to MENUSELECT, MENUPROMPT and MENUSCROLL; no special value for LISTMAX to turn on list scrolling, this is done by setting LISTPROMPT now; default values for LISTPROMPT and MENUPROMPT when set but empty (10959) 2000-04-27 08:21:10 +00:00
Sven Wischnowsky
ddb16a1b2b allow to anchor on gaps between strings in matching control specs (10926) 2000-04-26 06:54:26 +00:00
Sven Wischnowsky
9ecbacab6b faster test for `*'-patterns in matching control; prefer direct character matches over match specs in recursive invocations of match_str() (10925) 2000-04-26 06:45:50 +00:00
Sven Wischnowsky
67fd3b73ca fix for matching control; improve merging cline lists (10924) 2000-04-26 06:34:10 +00:00
Sven Wischnowsky
bc21696b63 don't show empty hidden matches even in menu-selection (10917) 2000-04-25 13:54:09 +00:00
Sven Wischnowsky
d3c918b863 re-calculate number of line with mark when needed; make default prompts more consistent (10916) 2000-04-25 12:19:45 +00:00
Sven Wischnowsky
6e99acad52 forgotten fix for _arguments using multiple actions (10915) 2000-04-25 11:49:10 +00:00
Sven Wischnowsky
f5dcbf9f19 don't always ignore backslashes in paths when testing file type (10912) 2000-04-25 11:17:24 +00:00
Sven Wischnowsky
6623bb41b9 report prefix/suffix of parameter expansion in IPREFIX/ISUFFIX; make _expand use them to be able to expand $foo (10909) 2000-04-25 10:28:11 +00:00
Sven Wischnowsky
d49da60670 make _arguments use more than one action when appropriate; add _argument_sets to complete different sets of arguments and options for the same command (10908) 2000-04-25 09:48:08 +00:00
Bart Schaefer
3c4ca6d37d 10900: Depend modules-bltin upon config.status rather than upon Makefile. 2000-04-25 04:30:31 +00:00
Sven Wischnowsky
b572f0295c fix off-by-one error in scrolled menu-selections (10868) 2000-04-20 11:03:15 +00:00
Sven Wischnowsky
ad0c81a554 ensure zsh/compctl (ick!) module is loaded when zle is loaded from init file but zsh/complete isn't (10828) 2000-04-19 13:42:51 +00:00
Sven Wischnowsky
6a7c002a7c default for list-prompt style, %[MLP] use fixed-width strings, %[mlp] use variable-width strings (10816) 2000-04-19 06:49:36 +00:00
Sven Wischnowsky
fe65ab1dd8 completion list scrolling cleanup; *STATUS renamed to *PROMPT, styles for new used parameters, use local keymap when waiting at list-prompt (10801) 2000-04-18 07:36:55 +00:00
Sven Wischnowsky
59da43689a fix to get newlines in non-job-texts (I'm sooo stupid) 2000-04-18 07:12:32 +00:00
Sven Wischnowsky
145e7ee76f join_clines() tested the wrong variable (10798) 2000-04-18 07:07:30 +00:00
Sven Wischnowsky
30a98cc4d6 scrolling in completion lists and menu-selection, version1 2000-04-17 11:17:10 +00:00
Sven Wischnowsky
f0e8173762 display newlines as spaces in job-texts (10788) 2000-04-17 10:46:01 +00:00
Sven Wischnowsky
fcca6c721c fix for exclusion lists for -+o specifications 2000-04-17 08:53:37 +00:00
Sven Wischnowsky
cd45aa331d make _tags use C-code for braces in tag-order values; and misc. stuff (10775) 2000-04-17 08:04:42 +00:00
Sven Wischnowsky
8c474bbcd4 fix for partial word completion with empty parts and common suffix (10774) 2000-04-17 07:56:25 +00:00
Peter Stephenson
5c53fb9500 10771: new GLOBAL_EXPORT option; successful compilation on OpenBSD 2000-04-16 19:02:13 +00:00
Peter Stephenson
2295c59fcb 10756: fix (#s) and (#e) for parameter substitution forms 2000-04-14 11:49:31 +00:00
Clint Adams
c281f5c3ba 10745: MAXJOB = MAX_TASKS_PER_USER from linux/tasks.h 2000-04-13 22:25:04 +00:00
Peter Stephenson
6372332a92 10743: fix replenv() of imported special parameters 2000-04-13 17:57:45 +00:00
Peter Stephenson
cf92384eac 10738: pws: local parameters can be exported 2000-04-13 14:22:47 +00:00
Sven Wischnowsky
f5b6feedca make read -[kq] always print the prompt, if any; after all they make sure they have a terminal anyway (10727) 2000-04-13 08:43:39 +00:00
Sven Wischnowsky
ba1d606cb2 fix field name for HAVE_NIS_PLUS (10726) 2000-04-13 08:19:44 +00:00
Sven Wischnowsky
2ef4fd884c comment the `#if's for group numbers in $compstate[insert] (10725) 2000-04-13 08:09:13 +00:00
Sven Wischnowsky
a8400e82b1 display number of matches again when asking if a completion list should be shown (only when not zero) (10724) 2000-04-13 08:05:57 +00:00
Sven Wischnowsky
47e4c7b8c1 forgot one #if for commenting out the group-stuff for $compstate[insert] 2000-04-12 13:08:08 +00:00
Sven Wischnowsky
c80d9e45e6 compare mapped zwc files using stat instead of the pathnames (10699) 2000-04-12 13:06:18 +00:00
Sven Wischnowsky
4a250fe1dd missing initialisation for next field in assignments for substitutions for fc builtin (10692) 2000-04-12 11:10:52 +00:00
Sven Wischnowsky
5ac242f449 comment out the code to allow $compstate[insert] to select the group (10690) 2000-04-12 09:12:15 +00:00
Sven Wischnowsky
5de80f85b4 display number of lines instead of number of matches when asking whether to show completion lists (10686) 2000-04-12 08:31:55 +00:00
Sven Wischnowsky
b1d4a8194a new widget copy-prev-shell-word, like copy-prev-word but uses shell parsing to find word (10685) 2000-04-12 08:24:15 +00:00
Sven Wischnowsky
fac3086d97 _wanted now tests both tags and labels; change places where _wanted was called without a command; allow multiple patterns per string in file-patterns; update _next_tags to work with labels (10632) 2000-04-11 07:57:56 +00:00
Sven Wischnowsky
3153dbb321 detect ignored signals correctly (10625) 2000-04-10 14:16:24 +00:00
Sven Wischnowsky
fc43f74334 addx() inserts x more often (10621) 2000-04-10 09:29:09 +00:00
Sven Wischnowsky
802ae96cf9 properly restore scriptname in doshfunc() (10620) 2000-04-10 09:18:26 +00:00
Sven Wischnowsky
724b065397 more careful with checking index of $history (10614) 2000-04-10 08:22:09 +00:00
Sven Wischnowsky
0713dfcd1a fix for bashautolist+automenu (10609) 2000-04-10 08:06:38 +00:00
Peter Stephenson
b4a2b47b64 stat -o shows file modes in octal 2000-04-07 20:07:10 +00:00
Bart Schaefer
265f55fd58 10582: Apply STTY only to process group leaders. 2000-04-07 15:40:21 +00:00
Bart Schaefer
38cce57dd7 10562, 10581: Complete .src.rpm after rpm --rebuild; note fixed bug; typo. 2000-04-07 15:01:03 +00:00
Sven Wischnowsky
920c353740 cursor placed on wrong word part with ** match spec (10573) 2000-04-07 09:16:37 +00:00
Clint Adams
18870148c5 10564: typo in _wanted
10565: maximum function depth configure option
10566: patgetglobflags has a second argument now
2000-04-07 02:27:44 +00:00
Peter Stephenson
d2330ba055 10547: (#s) and (#e) pattern assertions 2000-04-06 18:44:01 +00:00
Andrew Main
181811bf80 zefram2: Src/lex.c: Support "3&> foo" etc. 2000-04-06 17:21:52 +00:00
Sven Wischnowsky
4d08f8def2 use zsh as command name in error messages even with -c 2000-04-06 08:28:44 +00:00
Peter Stephenson
3acc9f80ef Patches 10513, 10516 (Alexandre), 10519 (Oliver), 10524 2000-04-05 19:28:07 +00:00
Sven Wischnowsky
5de3404e7c make zwc files use the magic number as their verios, report zsh-version in error messages 2000-04-05 09:20:02 +00:00
Sven Wischnowsky
db663c824a $PENDING special zle parameter, giving number of un-read bytes 2000-04-05 08:49:50 +00:00
Sven Wischnowsky
1db256fc0f better error handling for zwc files 2000-04-04 14:08:56 +00:00
Sven Wischnowsky
b734769523 fix for comparguments: completion of options after option with
rest-arguments was wrong
2000-04-04 12:56:40 +00:00
Sven Wischnowsky
8488dcb806 keep association elements from being exported 2000-04-04 12:02:04 +00:00
Sven Wischnowsky
87b625f15f make _next_tags be usable with menu-completion 2000-04-04 11:26:26 +00:00
Sven Wischnowsky
7b016b8cd8 Copy QIPREFIX/QISUFFIX. 2000-04-04 09:52:56 +00:00
Andrew Main
835572ae23 10444: Src/lex.c, Src/pattern.c: Insist on proper syntax
for numeric globbing (with the "-").  Also fix the bug whereby
"echo 1<2-3>" would lose the "1".
2000-04-04 01:16:25 +00:00
Sven Wischnowsky
b687bd9750 Various completion fixes 2000-04-03 15:27:14 +00:00
Sven Wischnowsky
b5019ef4e5 Recognise new parts in partial word completion 2000-04-03 12:14:52 +00:00
Peter Stephenson
4852545255 Updated from list as far as 10376 2000-04-01 20:49:47 +00:00
Tanaka Akira
e2cc547411 Initial revision 2000-01-20 18:44:54 +00:00
Tanaka Akira
a81ffd1841 Initial revision 1999-12-16 14:31:35 +00:00
Tanaka Akira
3d5e4155a4 Initial revision 1999-12-13 12:40:42 +00:00
Tanaka Akira
9141828e71 Initial revision 1999-12-10 14:48:04 +00:00
Tanaka Akira
bd443fb06f zsh-workers/8843 1999-12-06 04:52:33 +00:00
Tanaka Akira
1937e5a3b5 zsh-workers/8725 1999-11-23 12:14:32 +00:00
Tanaka Akira
95e7c71425 Initial revision 1999-11-04 19:17:12 +00:00
Tanaka Akira
82e6f2438e Initial revision 1999-11-01 09:37:26 +00:00
Tanaka Akira
a17347df59 removed. 1999-10-27 09:39:10 +00:00
Tanaka Akira
65392c396b Initial revision 1999-10-26 15:36:11 +00:00
Tanaka Akira
2285f015f4 Initial revision 1999-10-18 23:30:27 +00:00
Tanaka Akira
9ac65c08b2 Initial revision 1999-10-17 18:01:49 +00:00
Tanaka Akira
a564f353d9 Initial revision 1999-10-12 09:33:05 +00:00
Tanaka Akira
e7384c33a4 Initial revision 1999-09-22 13:33:14 +00:00
Tanaka Akira
8d1b4b1358 Sync up with zsh-3_1_6-pws-1. 1999-08-12 22:59:04 +00:00
Tanaka Akira
7f35660255 Initial revision 1999-08-06 18:02:39 +00:00
Tanaka Akira
b346c4796b Initial revision 1999-06-27 05:33:25 +00:00
Tanaka Akira
b39cafaa22 Initial revision 1999-05-31 17:10:16 +00:00
Tanaka Akira
ba1bd66d5f Initial revision 1999-05-19 13:10:53 +00:00
Tanaka Akira
e74702b467 Initial revision 1999-04-15 18:05:38 +00:00