1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-20 05:53:52 +01:00
Commit Graph

681 Commits

Author SHA1 Message Date
Sven Wischnowsky
0982f4ee64 condition parsing with (z) flag 2000-07-13 12:28:12 +00:00
Peter Stephenson
fa699be45d 12242: based on code from Fr. Br. George (George V Kouryachy):
use negative integers in prompt to count from other end of string
2000-07-13 11:20:46 +00:00
Sven Wischnowsky
b46926af8d fix for _arguments with single-letter options: recognize option-strings with multiple options; in _main_complete stop trying completers when one called _message, don't display warnings in such cases (12241) 2000-07-13 11:03:59 +00:00
Sven Wischnowsky
663ecf8e12 fix zle widget -n num with num>9 (12238) 2000-07-13 09:11:54 +00:00
Sven Wischnowsky
c3082d546e slightly improved (z) flag for parsing conditions; recognising glob flags in conditions still doesn't work (12237) 2000-07-13 08:42:10 +00:00
Bart Schaefer
6ef0d9767f Delete stray "a". 2000-07-12 15:21:50 +00:00
Peter Stephenson
4f9a7e27d4 12231: fix compinstall list-prompt setting 2000-07-12 11:04:07 +00:00
Sven Wischnowsky
046f5da3aa fix for list-prompt docs (12229) 2000-07-12 10:36:22 +00:00
Sven Wischnowsky
d861bb9805 fix for (z) flag, don't take # as comment (12228) 2000-07-12 10:31:29 +00:00
Peter Stephenson
cc2213b340 12227: select-prompt handled by compinstall 2000-07-12 10:19:59 +00:00
Sven Wischnowsky
8e2fa4d9b2 don't start menu selection with only select=long (12226) 2000-07-12 09:25:18 +00:00
Sven Wischnowsky
d05b3e675e check if options were completed (12225) 2000-07-12 09:01:40 +00:00
Peter Stephenson
32d2d47fd5 12220: message for missing autoload function 2000-07-11 16:43:26 +00:00
Bart Schaefer
ac223786a1 Complete all process IDs for root in _killall, as suggested in 12202 et al. 2000-07-10 17:08:00 +00:00
Sven Wischnowsky
961876dca4 avoid insertion of `+' before ~1/<TAB>; don't use undeclared local $tmp (12208) 2000-07-10 08:03:36 +00:00
Tanaka Akira
709c31e9a8 * 12201: Completion/User/_java: fix completion for jar. complete
package qualified class names. fix typos.
2000-07-08 07:15:26 +00:00
Bart Schaefer
14428d46e4 12193: Rather than replace @RLIMITS_INC_H@ with /dev/null on platforms where
getrlimit() is not found, replace it with nothing and append /dev/null to
the awk command in rlimits.mdd, so that we don't end up with a dependency of
rlimits.h on /dev/null (which can cause rlimits.h to be needlessly remade).
2000-07-07 17:12:17 +00:00
Oliver Kiddle
1c28d8c21f updates and additions to completions for AIX commands 2000-07-06 12:40:00 +00:00
Oliver Kiddle
b0337944b4 mention more standard tags in documentation and fix some typos (12177) 2000-07-05 21:05:57 +00:00
Sven Wischnowsky
8ef812d6fb get return status right (12171) 2000-07-05 10:54:51 +00:00
Bart Schaefer
23ff230c8e 12167: Ignore failure of "for" loop in "make check". 2000-07-05 07:25:45 +00:00
Oliver Kiddle
7f2ee10ba7 new completion function for arp (12165) 2000-07-04 21:58:09 +00:00
Bart Schaefer
e1fe756d14 12160: Cause compdump to fail early if it won't be able to write the file. 2000-07-04 16:16:34 +00:00
Oliver Kiddle
708dc69d38 AIX dependency fixes 2000-07-04 15:04:17 +00:00
Peter Stephenson
4ae42bb70e shut compiler up 2000-07-04 10:02:26 +00:00
Peter Stephenson
7f5828f0fb 12149: guard against undefined h_errno in zftp 2000-07-04 08:44:03 +00:00
Sven Wischnowsky
41404fb6c7 add some $(print...)s because of possible math-parse errors (12156) 2000-07-04 08:07:24 +00:00
Bart Schaefer
715278d063 12151: Fix ZDOTDIR during "make check" for static builds. 2000-07-04 00:45:07 +00:00
Adam Spiers
c5e47b8536 12152: tweak completion of final parameters to perl 2000-07-03 21:12:50 +00:00
Bart Schaefer
6f8986d370 12148: Don't merge display-ordering glob flags into the parens of $(...). 2000-07-03 17:45:46 +00:00
Peter Stephenson
47e9efb061 12146: reintroduce install_info code 2000-07-03 16:51:18 +00:00
Peter Stephenson
044e8e054c 12140: make key rebinding for _expand complter easier 2000-07-03 14:00:44 +00:00
Peter Stephenson
a451f3058e 3.1.9-dev-2 2000-07-03 10:14:44 +00:00
Peter Stephenson
a7f0716ddb 12138: setting arrays in math context 2000-07-03 10:10:07 +00:00
Peter Stephenson
43f3a58597 12121: stopmsg in precmd 2000-07-03 08:48:22 +00:00
Sven Wischnowsky
0ddb4fb835 change format style with warnings tag, don't add descriptions as matches; make a-a-i-n-h in menu selection work even without matches (12134) 2000-07-03 08:05:27 +00:00
Bart Schaefer
4ed8c26c50 12133: Protect completion system from stray error output and assorted fatal
errors when expanding strings taken from the command line.
2000-07-02 17:21:54 +00:00
Sven Wischnowsky
0f398e9d2f fix for `foo () print bar' (function definitions without braces) (12125) 2000-06-29 12:08:25 +00:00
Sven Wischnowsky
d01795be2a reverse meaning of yes=num again (12122) 2000-06-29 09:32:04 +00:00
Sven Wischnowsky
a9d46be89d try to return the right value (12119) 2000-06-29 08:20:32 +00:00
Sven Wischnowsky
4bf681950b don't expand partially typed parameter expansions (12118) 2000-06-29 08:09:45 +00:00
Sven Wischnowsky
d15f36ab5b change suffix style to still do expansion if the suffix contains something to expand (12115) 2000-06-29 07:10:31 +00:00
Sven Wischnowsky
4e2e7f292f even more fun with the menu style (no=num, yes=long-list, reverse meaning of yes=num) (12114) 2000-06-29 07:04:17 +00:00
Sven Wischnowsky
806e8aa6af quote brace-strings (12113) 2000-06-29 06:59:00 +00:00
Bart Schaefer
d38f54a928 12112: Don't make namedirs out of hash elements. 2000-06-28 17:10:05 +00:00
Sven Wischnowsky
4c7469778a make _complete return the right value (12109) 2000-06-28 14:27:25 +00:00
Sven Wischnowsky
04bf39bf2e fix for list-colors handling (12107) 2000-06-28 13:59:21 +00:00
Sven Wischnowsky
45a6914ed7 reset _comp_mesg (saying whether there were messages) appropriately (12105) 2000-06-28 09:42:50 +00:00
Sven Wischnowsky
fde669f76d misc 2000-06-28 09:08:03 +00:00
Sven Wischnowsky
f4a09871b0 make _oldlist not use the dummy match added for the warning (12099) 2000-06-28 09:04:02 +00:00
Sven Wischnowsky
0334b4df7c make a-a-i-n-h in menu selection work with one match; better undo behaviour for menu selection (12093) 2000-06-28 07:29:59 +00:00
Bart Schaefer
b779cb9d95 12086: Alphabetize new entries in compsys.yo; stick users/ on article number
references that came from the zsh-users list.
2000-06-28 04:08:59 +00:00
Sven Wischnowsky
9eca7fc726 menu style accepts yes=x to start menu completion if there are at least x matches (3219) 2000-06-27 15:05:33 +00:00
Sven Wischnowsky
c8812bb0c8 Andrej: don't close slave if not yet open (12084) 2000-06-27 14:25:05 +00:00
Sven Wischnowsky
07aec026b6 document _use_lo (12082) 2000-06-27 13:22:53 +00:00
Peter Stephenson
dcd94d3786 Andrej: 12081: zpty under cygwin 2000-06-27 08:42:27 +00:00
Peter Stephenson
756a2aba9c unposted: move poll_read 2000-06-26 21:27:07 +00:00
Peter Stephenson
29030cc13b 12076: better saving in file in compinstall 2000-06-26 16:17:52 +00:00
Bart Schaefer
8d0feb4b31 12074: Remove one more reference to compfmt; add missing menu items. 2000-06-26 15:36:57 +00:00
Peter Stephenson
acda8dc256 12073: read -t to test for available input before reading 2000-06-26 15:00:27 +00:00
Sven Wischnowsky
326e04c360 default completion even if there are options (3208) 2000-06-26 10:47:01 +00:00
Sven Wischnowsky
b4f914f784 fix for completer lookup in _ignored (12070) 2000-06-26 09:36:12 +00:00
Sven Wischnowsky
3ff5a17d8c remove compfmt; a bit of explanation for compfiles and compgroups (12068) 2000-06-26 08:36:42 +00:00
Sven Wischnowsky
470515922c typo in _history; missing free()s in zle_tricky.c (12067) 2000-06-26 08:20:33 +00:00
Sven Wischnowsky
4d656bfb0e missing allocation of list for option arguments (12066) 2000-06-26 08:10:33 +00:00
Bart Schaefer
79c4c50777 12063: Assorted typo-squashing and reformatting. 2000-06-25 20:17:33 +00:00
Peter Stephenson
abd757eac4 12044: read -A bug 2000-06-23 09:45:38 +00:00
Sven Wischnowsky
f45c9cb8f2 compinit some more (12043) 2000-06-23 08:05:41 +00:00
Sven Wischnowsky
806220d4ff even more compiinit stuff, change prompt, search for insecure parent dirs (12041) 2000-06-23 07:10:40 +00:00
Peter Stephenson
12fd5d0065 12040: typeset -r bug 2000-06-22 20:57:14 +00:00
Bart Schaefer
122e46b406 Fix comptest interaction with compinit. 2000-06-22 17:33:38 +00:00
Sven Wischnowsky
6218b6dc19 followup to compinit-security patch (12033) 2000-06-22 11:09:17 +00:00
Sven Wischnowsky
b9a533f382 allow subscripts for compadd -[ak]; new style for history completion; better list-colors handling (12029) 2000-06-22 08:42:36 +00:00
Clint Adams
44b34667f8 12027: mutt smarts for _mailboxes 2000-06-22 04:11:35 +00:00
Clint Adams
e164618de2 12024: handle multiple mailboxes lines in muttrc 2000-06-22 02:37:45 +00:00
Chmouel Boudjnah
ec7fc02071 * 12019: Completion/User/_ssh: upgrade to the last openssh
options.
2000-06-21 16:37:51 +00:00
Sven Wischnowsky
1c710d4627 make history completion use I{PREF,SUF}FIX (12011) 2000-06-21 08:05:28 +00:00
Oliver Kiddle
3ecad25c83 AIX dependency fix 2000-06-20 16:38:10 +00:00
Peter Stephenson
1a691db1e2 12000: zmv: emulate -R to unset MARKDIRS 2000-06-20 09:11:04 +00:00
Sven Wischnowsky
fb7bc3a9c7 a bit of security for compinit (avoid using things writable by others); avoid handling files with the same name twice; remove compconf (11998) 2000-06-20 07:15:38 +00:00
Sven Wischnowsky
cde71bb1a5 make undo break out of menu selection if nothing to undo inside it (11992) 2000-06-19 14:51:06 +00:00
Sven Wischnowsky
c071087d1f _arguments: small fix for -s and new `!...' for things not to complete (but to understand) (11985) 2000-06-19 13:09:06 +00:00
Sven Wischnowsky
0301303666 update comptest to not set ZLS_COLORS directly (11982) 2000-06-19 12:16:34 +00:00
Sven Wischnowsky
11ec14c3b3 more careful when optimising patterns in compfiles (11981) 2000-06-19 11:43:12 +00:00
Sven Wischnowsky
083befef2b new match spec characters bBeE, match only word/line not both (11977) 2000-06-19 10:48:21 +00:00
Sven Wischnowsky
a295e82c1e allow _expand to expand braces; better detection of braces to complete in C (11973) 2000-06-19 09:55:31 +00:00
Sven Wischnowsky
2769b19881 improve filename completion; use accept-exact for in-path completion; new fake style (11971) 2000-06-19 09:32:30 +00:00
Peter Stephenson
207758992a .distfiles additions 2000-06-19 09:16:17 +00:00
Peter Stephenson
1b15c688dc users/3189: zmv fixes
Version 3.1.9-dev-1
2000-06-19 09:13:44 +00:00
Sven Wischnowsky
4299878002 restore ZLS_COLORS when possible; better group-name handling in ZLS_COLORS (3188) 2000-06-19 08:47:43 +00:00
Clint Adams
bfaf5478a3 11966: double brackets around comparison to prevent 'command not found: no' 2000-06-18 14:16:24 +00:00
Bart Schaefer
1add53c578 Fix parsing of := for magicequalsubst. 2000-06-17 19:51:51 +00:00
Tanaka Akira
adfa6193a2 11959: Completion/User/_urls: make it magicequalsubst aware.
(not posted): Completion/User/.distfiles: add `_java'.
2000-06-17 18:35:51 +00:00
Tanaka Akira
903c771474 11958: Completion/User/_java: new completion for Java. 2000-06-17 18:10:09 +00:00
Bart Schaefer
0d22935756 Add a test for cascaded case statement. 2000-06-17 17:13:59 +00:00
Bart Schaefer
af1339bacf 11956: Fix off-by-one error. 2000-06-17 17:05:53 +00:00
Clint Adams
19efbf7dd2 11951: _dpkg tweak for install and record-avail 2000-06-16 15:22:26 +00:00
Sven Wischnowsky
1416862b63 allow completion after `a{{b,c},'; fix for closing brace re-insertion when completing from both ends (CLF_MID) (11939) 2000-06-16 07:52:05 +00:00
Sven Wischnowsky
ae2b3953df enhance ignore-line to ignore all/current/other word(s) (11938) 2000-06-16 07:38:59 +00:00
Sven Wischnowsky
0b892d4492 zstyle -e option; change math-styles to boolean ones; change defaults for _expand styles (11937) 2000-06-16 07:31:09 +00:00
Sven Wischnowsky
f04b4c74a7 more security in completion matching (11924) 2000-06-15 09:41:47 +00:00
Peter Stephenson
6d8ec99c35 11908: compmatch tests 2000-06-15 09:10:23 +00:00
Peter Stephenson
48101910bb as 11916: ChangeLog split 2000-06-15 09:08:06 +00:00
Sven Wischnowsky
818cba3dbf make _files try each pattern only once (and stop after `*') (11915) 2000-06-15 09:06:21 +00:00
Sven Wischnowsky
dc102b8130 fix for _arguments, it took non-option strings as options (11910) 2000-06-15 08:09:09 +00:00
Peter Stephenson
a777f021a2 11906: yet two more saving trap bugs 2000-06-14 22:00:39 +00:00
Oliver Kiddle
545c064770 Handle new suffix style with arrays (11903) 2000-06-14 16:12:13 +00:00
Peter Stephenson
05c34efa3c 11902: SIGWINCH local trap test 2000-06-14 15:37:54 +00:00
Peter Stephenson
4611530c45 11901: two more trap saving bugs 2000-06-14 15:14:49 +00:00
Peter Stephenson
ae8c986107 11895: trap exit problem when exiting from function scope 2000-06-14 14:19:20 +00:00
Sven Wischnowsky
a908cdd155 *** empty log message *** 2000-06-14 09:46:24 +00:00
Sven Wischnowsky
fa7d6d5f9f *** empty log message *** 2000-06-14 09:35:03 +00:00
Sven Wischnowsky
5f81bbc869 nix kaboom with `time time' (?) 2000-06-14 09:26:55 +00:00
Sven Wischnowsky
53f5cc9465 better fix for menu selection on dumb terminal (11885?) 2000-06-14 06:54:44 +00:00
Clint Adams
f4c3c3743d Added article number for 11882. 2000-06-13 19:34:44 +00:00
Peter Stephenson
87fb1e4332 11877: ChangeLog only 2000-06-13 17:52:01 +00:00
Clint Adams
b4e489407a ?????: dpkg completion improvements 2000-06-13 17:45:48 +00:00
Clint Adams
aab0b4cad0 Added patch numbers to Sven's entries. 2000-06-13 16:45:10 +00:00
Sven Wischnowsky
9310826027 make -A take a pattern as argument to match non-arguments; allow single-letter option strings to have multiple arguments; fix to allow option completion with multiple sets (?) 2000-06-13 12:14:32 +00:00
Sven Wischnowsky
bde4cfde51 new _generic widget to call completion with $WIDGET in function field of context (?) 2000-06-13 11:55:06 +00:00
Sven Wischnowsky
428abf6455 new style `suffix'; use accept-exact style in _expand (?) 2000-06-13 11:26:07 +00:00
Sven Wischnowsky
a2417f6863 fix for longer capability strings (sunsite still not responding, sigh) 2000-06-13 10:49:18 +00:00
Peter Stephenson
65b3fdc4ab Make PRINT_* flags unique again 2000-06-13 09:13:29 +00:00
Sven Wischnowsky
cedd1006e6 fixes for calling compfiles, for completing words with special characters; make compfiles optimisations work with globcomplete and simple match (sunsite isn't responding) 2000-06-13 09:05:35 +00:00
Peter Stephenson
055d961f84 11867: restrict typeset -H application 2000-06-12 09:27:09 +00:00
Bart Schaefer
21f6b9d14c 11866: More ANSI color stuff; preserve more state during prompt previewing. 2000-06-11 22:21:33 +00:00
Bart Schaefer
bae526275a Alexandre: Fix colored listings crash (article number attribution may be
wrong in ChangeLog).
2000-06-11 08:15:27 +00:00
Tanaka Akira
422c08622c 11861: Completion/User/_cvs: fix -a use for compadd. 2000-06-11 07:06:34 +00:00
Bart Schaefer
060ac27a17 11850: Fix crash in menu-select on dumb terminals. Also, a ChangeLog entry
for PWS's 11842.
2000-06-10 17:30:22 +00:00
Clint Adams
716f5d4e39 11839: endtrapscope() null pointer dereference prevention 2000-06-09 14:40:54 +00:00
Sven Wischnowsky
4997db3470 fix for menu-completion when another completion came right after it (11836) 2000-06-09 11:14:34 +00:00
Sven Wischnowsky
427b4b74f2 improve _path_files, move some code into C, try to optimise glob patterns and immediately accept exact directory matches (11833) 2000-06-09 07:49:44 +00:00
Oliver Kiddle
748ab4f791 avoid bug in IRIX's sed and use new -K option to zparseopts in _urls 2000-06-08 14:36:24 +00:00
Peter Stephenson
45d95dde48 11820: metafication of command line arguments 2000-06-08 09:59:00 +00:00
Sven Wischnowsky
a95d051826 more anchor matching fixes (11817) 2000-06-08 09:25:24 +00:00
Sven Wischnowsky
0526e9b5c7 trying to improve _expand; new keep-prefix style, add-space gives more control (11815) 2000-06-08 08:39:50 +00:00
Sven Wischnowsky
2e1c0ec483 make C-code expansion add a space only when more than one word was generated (11814) 2000-06-08 07:20:31 +00:00
Tanaka Akira
f3c138aee7 users/3130: Completion/Debian/_apt: fix actions for _alternative. 2000-06-08 03:03:55 +00:00
Sven Wischnowsky
b0b33a41a1 try to get the tests for `strings long enough' right in anchor matching code (11796) 2000-06-07 13:25:32 +00:00
Sven Wischnowsky
25ca4f8792 optimise command lookup in old and new completion (user/3124) 2000-06-07 11:21:42 +00:00
Peter Stephenson
b24757fc34 11711: Andrej: diff output workaround 2000-06-07 09:02:23 +00:00
Sven Wischnowsky
9ac1ee5703 hopefully more consistent beeping with menu-selection (11794) 2000-06-07 08:39:56 +00:00
Sven Wischnowsky
9bb23440d2 -K option for zparseopts to keep previous array values (11792) 2000-06-07 07:38:02 +00:00
Sven Wischnowsky
6bdaf4e174 setup options in bindable commands (11789) 2000-06-07 06:47:40 +00:00
Oliver Kiddle
aafc585164 Use slightly cleaner syntax (11772) 2000-06-06 19:43:29 +00:00
Sven Wischnowsky
423543d389 make _expand ignore empty expansions (11777) 2000-06-06 13:04:10 +00:00
Sven Wischnowsky
24559bb1f6 fix for _path_files and globcomplete, better test if word contains wildcards (11776) 2000-06-06 12:19:33 +00:00
Sven Wischnowsky
4900804b61 make (e) flag be silent unless (X) is given, too (11768) 2000-06-06 08:35:54 +00:00
Oliver Kiddle
0d0a134822 accept -g option in _urls and use _urls in _rpm (11756) 2000-06-05 23:20:48 +00:00
Oliver Kiddle
4e9967dcca fix wording in error messages for tests (11755) 2000-06-05 23:06:52 +00:00