1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 21:44:11 +01:00
Commit Graph

371 Commits

Author SHA1 Message Date
Bart Schaefer
5d4492c974 Tweak builtins.yo formatting. 2001-05-31 07:38:00 +00:00
Peter Stephenson
99beeb572e Doc changes for 4.0.1 2001-05-30 16:08:16 +00:00
Peter Stephenson
35580b3e78 Make line spacing consistent in metafaq.yo 2001-05-29 23:32:33 +00:00
Oliver Kiddle
56528ccb66 spelling corrections 2001-05-29 17:54:08 +00:00
Clint Adams
da9fa61207 14509: ZLS_COLOURS/ZLS_COLORS consistency 2001-05-28 16:01:01 +00:00
Andrey Borzenkov
7270c28a39 14401: workaround for script execution under Cygwin 2001-05-20 10:59:27 +00:00
Peter Stephenson
6ea2dab092 Fix, test and comment unsetting and resetting of special tied parameters 2001-05-19 23:47:58 +00:00
Wayne Davison
90e59f2e74 Mention how ignored history lines are not dropped immediately. 2001-05-15 16:32:20 +00:00
Peter Stephenson
27a7c9cdeb Make clearer that globsubst doesn't affect brace expansion 2001-05-09 09:25:07 +00:00
Sven Wischnowsky
e859ee1a4b add description of how to add a auto-removable suffix when using a ->state action with _values (14279) 2001-05-09 08:55:58 +00:00
Sven Wischnowsky
83032fe876 add -S option to specify separator between values and their arguments; make _values add the value-separator as a suffix for most types of actions (14257) 2001-05-08 12:24:21 +00:00
Sven Wischnowsky
ff82191c26 empty description means: don't add a -X option (14252) 2001-05-08 08:46:59 +00:00
Sven Wischnowsky
6f2112f23a try to improve testing for suffix style in _expand; make _path_files fail to complete words like ...<pat>..<param-subst>... (14133) 2001-04-27 09:12:33 +00:00
Sven Wischnowsky
b4b6d57e2c 14117 2001-04-26 14:40:11 +00:00
Sven Wischnowsky
727912d1cb handle sub-sub-directories of $_compdir as in the CVS-layout (14107) 2001-04-26 13:03:24 +00:00
Sven Wischnowsky
aa99b19c08 rename -W option to -w, add new -W option which makes _arguments complete options even after options that get their argument in the same word; new _guard function for conditionally displaying messages (14105) 2001-04-26 12:13:36 +00:00
Clint Adams
fe8d375ca0 14xxx: document $termcap and tweak mod_termcap/mod_terminfo docs 2001-04-23 23:24:18 +00:00
Bart Schaefer
740d576560 Subscripting documentation. 2001-04-22 21:02:32 +00:00
Peter Stephenson
95733c61c2 bindkey -rp removes prefix bindings; bindkey -p bugfix 2001-04-19 19:43:45 +00:00
Wayne Davison
50a2ef61bf Updated the "preexec" docs. 2001-04-11 05:27:24 +00:00
Sven Wischnowsky
163b0101ed add -W option to _arguments, which allows to complete options after options that take an argument in the next word (13902) 2001-04-04 11:29:19 +00:00
Sven Wischnowsky
3d7263ff67 after-move cleanup 2001-04-02 13:04:04 +00:00
Oliver Kiddle
b9c58a73ac various doc fixes and minor completion function changes, most of which
are to use the -A "-*" and -S options to _arguments (13863)
2001-04-01 16:19:15 +00:00
Bart Schaefer
30697061f2 Refuse to setopt noexec when interactive 2001-03-30 16:20:03 +00:00
Bart Schaefer
7fd57d5473 Man page formatting tweak from long ago. 2001-03-29 05:00:09 +00:00
Peter Stephenson
19a8356ff1 Add `bindkey -p' 2001-03-28 16:54:21 +00:00
Peter Stephenson
3052985d1f move ZLE builtin documentation from mod_zle.yo to zle.yo. 2001-03-28 14:39:57 +00:00
Sven Wischnowsky
8d610f7724 more cleanup; simplify the stop and liststyles; try to make it obey whatever _main_complete says should be done (menu-wise) (13815) 2001-03-28 12:17:12 +00:00
Sven Wischnowsky
6a62ae3564 replace path' with more general urls' style (13814) 2001-03-28 11:26:05 +00:00
Sven Wischnowsky
e48f71e216 make _arguments return 300 only if given the -R option (13790) 2001-03-27 13:03:49 +00:00
Sven Wischnowsky
ea08ba3cea _pids shouldn't start menu completion if the current word starts with a hyphen; typo fix in compsys.yo (13763) 2001-03-26 08:27:03 +00:00
Sven Wischnowsky
6fda33d3ab fix 2001-03-23 12:52:39 +00:00
Sven Wischnowsky
9ef6eed52a add commands and call-command styles; mention some of the more expensive things about completion setup in the docs (13727) 2001-03-23 12:44:21 +00:00
Peter Stephenson
c1d5c9372b metafaq: shorter address for Israeli mirror 2001-03-18 19:21:48 +00:00
Bart Schaefer
7cfaf656c4 Add zkdb function. 2001-03-17 22:30:11 +00:00
Peter Stephenson
c925a15aa7 13611, 13615: Bind cursor keys using termcap, including in viins. 2001-03-13 15:32:41 +00:00
Oliver Kiddle
f18221fbb0 spelling corrections (13610) 2001-03-12 17:39:22 +00:00
Andrey Borzenkov
eeebe3e4ec 13544, 13568 (Peter): + syntax for matchers in matcher-list to augment
previous list
2001-03-06 07:47:26 +00:00
Sven Wischnowsky
3e6563dd03 new _expand_aliases to, well, expand aliases (13566) 2001-03-05 13:18:59 +00:00
Sven Wischnowsky
061c1ce912 add `aliases' option to be able to disable alias expansion (13554) 2001-02-28 09:12:54 +00:00
Peter Stephenson
cd02c345af 13280: NewImproved handling of colon modifiers w.r.t. paths 2001-02-19 10:26:52 +00:00
Peter Stephenson
441648bf5d ?## fix from 13497 and site name change from Geoff 2001-02-18 00:58:07 +00:00
Peter Stephenson
53a7b0c445 13473: clean config.modules, fix CSH_NULL_GLOB doc 2001-02-14 17:58:11 +00:00
Oliver Kiddle
3f862ce205 Changes references to sunsite.auc.dk to just sunsite.dk (13422) 2001-02-01 15:48:57 +00:00
Sven Wischnowsky
ca585f812b add `services', allowing easier re-use of (parts of) completion functions (13346) 2001-01-15 09:11:31 +00:00
Sven Wischnowsky
2a78c24842 *** empty log message *** 2001-01-11 10:06:40 +00:00
Bart Schaefer
c1a4af81c6 Include mod_term*.yo in doc source. 2000-12-05 05:07:52 +00:00
Peter Stephenson
0db6a3103f $# doc 2000-12-04 12:03:25 +00:00
Clint Adams
683cf32360 13216: docs for tc/ti modules 2000-12-03 23:32:09 +00:00
Peter Stephenson
c292a3ae50 Sven: 13108: Handle traps synchronously
pws: 13109, 13111: clear up zle display when output produced in trap.
2000-11-11 19:50:27 +00:00
Sven Wischnowsky
e0dc80e0e5 aloow value `pattern' for insert-unambiguous style to preserve patterns in the original string; add list-suffixes style to make file completion list path suffixes if possible; slightly improved completion of pathnames with multiple pattern-components (13128) 2000-11-08 09:20:42 +00:00
Bart Schaefer
49fc6b036c Make zpty more like eval. 2000-11-06 06:24:27 +00:00
Bart Schaefer
dbc0aebcd4 Assorted read_poll() and zpty cleanup. 2000-11-05 09:27:08 +00:00
Sven Wischnowsky
da9b5bb81a show current/previous job in $jobstates (3503) 2000-11-02 08:12:44 +00:00
Sven Wischnowsky
865f3961b7 change some tags used in filename completion: no tag for file-sort, fake-files and ignore-parents, paths for accept-exact (13037) 2000-10-23 08:07:32 +00:00
Sven Wischnowsky
16d7e31ae8 make non-blocking IO on ptys work again; add -t option to test if command is still alive (13035) 2000-10-19 08:46:54 +00:00
Bart Schaefer
632dc55f9c Document tty mode restoration. 2000-10-14 00:14:15 +00:00
Sven Wischnowsky
f23b23e8a3 remove possibility for func() entries in tag-order style, can be done using zstyle -e (12974) 2000-10-12 08:28:26 +00:00
Sven Wischnowsky
17e2003c5c rename fake style to fake-files (12973) 2000-10-12 07:08:43 +00:00
Sven Wischnowsky
adf7965951 add _all_matcher completer and supporting C-code for adding a special match representing all other matches; remove completions style from _expand(|_word) (12960) 2000-10-11 12:19:23 +00:00
Sven Wischnowsky
7b35c8639c *** empty log message *** 2000-10-10 14:12:41 +00:00
Sven Wischnowsky
ffe53f319a cleanup for 12896 (12901) 2000-10-05 14:08:47 +00:00
Sven Wischnowsky
62df18f0d8 cleanup (12896) 2000-10-05 08:41:35 +00:00
Sven Wischnowsky
0f2250de44 complete after autoloaded directories (a rather ugly hack); remove old code in _files (comma separated patterns); improve docs for fake style and for comma separated qualifier lists (12892) 2000-10-05 07:31:00 +00:00
Bart Schaefer
430e294795 Fiddle with _expand_word and its doc. 2000-09-21 05:16:21 +00:00
Andrey Borzenkov
5637f95bc0 12848: Doc/Zsh/zle.yo: Alphabetize list of parameters 2000-09-20 06:58:54 +00:00
Andrey Borzenkov
1254055f09 12842 with corrections of Bart: Doc/Zsh/contrib.yo: Clarify digest file usage. 2000-09-20 06:33:29 +00:00
Andrey Borzenkov
2909b28776 12835: Alphabetize special parameters list (retry broken commit) 2000-09-18 17:37:23 +00:00
Bart Schaefer
bd7969bfa5 "typeset +m ..." and "typeset +g -m ..." 2000-09-17 05:38:36 +00:00
Bart Schaefer
73e23c7999 One more "wordcode" change. 2000-09-15 15:32:25 +00:00
Bart Schaefer
879b24619a Add smart-insert-last-word. 2000-09-13 05:06:54 +00:00
Bart Schaefer
9e9457f30e Redo _zle using _arguments; fix typos. 2000-09-11 07:08:27 +00:00
Bart Schaefer
cceb4703de No "wordcode". 2000-09-06 15:56:28 +00:00
Bart Schaefer
fe992fe5a9 No "wordcode". 2000-09-06 15:47:39 +00:00
Andrey Borzenkov
2ea89bc8f1 12761: ` is converted into " by makeinfo; use @: instead; use {}` for tex 2000-09-06 14:46:48 +00:00
Bart Schaefer
14c13bcbb9 Add a cross reference and some completer hints. 2000-09-05 16:34:45 +00:00
Sven Wischnowsky
f2d7665d98 change context for i-c-w styles, update docs (12744) 2000-09-05 08:35:48 +00:00
Bart Schaefer
dc1f7c5a34 Create "User Contributions" doc and make some assoctiated changes. 2000-09-04 21:10:29 +00:00
Andrew Main
960728aad2 12722: [##base] for output base selection without a base prefix 2000-09-02 17:09:28 +00:00
Peter Stephenson
942009eb9f 12719: quoting arrays in vared with real backslashes 2000-08-29 20:27:47 +00:00
Bart Schaefer
968c9f5f99 12716: Document and index REPLY/reply paramters properly. 2000-08-29 06:35:39 +00:00
Sven Wischnowsky
5821e7ef16 make $modules report aliases correctly (12654) 2000-08-16 09:25:39 +00:00
Sven Wischnowsky
0352b80797 call ps only once and be more intelligent when finding the PIDs (12640) 2000-08-15 09:31:18 +00:00
Oliver Kiddle
29255612ee Minor documentation fixes (12585) 2000-08-10 23:06:42 +00:00
Oliver Kiddle
5851a32681 add -g option to _parameters to restrict type of parameters completed (12583) 2000-08-10 21:22:25 +00:00
Peter Stephenson
f6ecbb7f4d 12581: C_BASES option 2000-08-10 16:19:11 +00:00
Sven Wischnowsky
5c90cf1a51 more fixes for completion of special characters (quoting) (12565) 2000-08-08 10:32:47 +00:00
Peter Stephenson
c66544a86b 12561: Completion/Builtins/_zmodload, Doc/Zsh/builtins.yo,
Src/builtin.c, Src/module.c, Src/zsh.h: aliases for modules
done internally via `zmodload -[AR]'
2000-08-08 09:13:36 +00:00
Sven Wischnowsky
d86e25ef2e small fix for `read -r' doc (12497) 2000-08-03 11:34:01 +00:00
Sven Wischnowsky
a23d39ce38 make binding of ^D be used in first column if ignoreeof is set and ^D is bound to a shell function widget (12494) 2000-08-03 07:51:53 +00:00
Adam Spiers
fd15ea0fb5 12486: new completion caching layer 2000-08-02 13:45:51 +00:00
Sven Wischnowsky
b2aebcad02 if compcontext is an assoc, the keys are the completions and the values are their descriptions (12483) 2000-08-02 10:36:19 +00:00
Sven Wischnowsky
cd2984fb66 make $compcontext more powerful and easier to use for simple cases 2000-08-01 07:19:15 +00:00
Sven Wischnowsky
a2f2ae4f5a clarify manual for menu style; select= and yes= may be given both a number and one of the long* values at the same time (12438) 2000-07-31 08:06:37 +00:00
Andrew Main
84b04a8728 12436: Doc/Zsh/invoke.yo, Src/init.c: Make -b behave like
the csh -b, permitting more options to be stacked after it and
take effect.  Make -b take effect depending on SH_OPTION_LETTERS,
consistent with all the other single-letter options, rather than
having a clashing check of emulation type.
2000-07-30 19:18:13 +00:00
Andrew Main
9743c19d61 12434: Doc/Zsh/invoke.yo, Src/init.c, Src/options.c, Src/zsh.h,
Src/zsh.mdd: Allow options to be specified on the zsh command line
in the form of GNU-style long options.  Also handle --version
and --help.  Do not permit extra option letters to be stacked
after `-whatever-' (they used to be ignored).  Exit if the
command line specifies an option name that doesn't exist.
2000-07-30 17:03:52 +00:00
Peter Stephenson
0aee5e1bb4 12414: vared quotes separators when editing arrays 2000-07-27 17:48:47 +00:00
Sven Wischnowsky
3343c75efd fix a bug that started menu selection too often; fix bug for `yes=long' and document it (12405) 2000-07-27 10:59:43 +00:00
Bart Schaefer
04aaf1cd7f Move compinit security checks into compaudit. 2000-07-26 08:54:58 +00:00
Wayne Davison
1f0e43a2c8 Mention the space-starting-alias feature in HIST_IGNORE_SPACE. 2000-07-19 21:37:18 +00:00
Peter Stephenson
c4e0379408 12313: bad phrasing in metafaq 2000-07-19 13:56:25 +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
046f5da3aa fix for list-prompt docs (12229) 2000-07-12 10:36:22 +00:00
Oliver Kiddle
b0337944b4 mention more standard tags in documentation and fix some typos (12177) 2000-07-05 21:05:57 +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
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
Sven Wischnowsky
d01795be2a reverse meaning of yes=num again (12122) 2000-06-29 09:32:04 +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
fde669f76d misc 2000-06-28 09:08:03 +00:00
Bart Schaefer
f889ebfaa3 12086: Alphabetize. 2000-06-28 04:09:56 +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
07aec026b6 document _use_lo (12082) 2000-06-27 13:22:53 +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
3ff5a17d8c remove compfmt; a bit of explanation for compfiles and compgroups (12068) 2000-06-26 08:36:42 +00:00
Bart Schaefer
79c4c50777 12063: Assorted typo-squashing and reformatting. 2000-06-25 20:17:33 +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
Sven Wischnowsky
cd335e489a *** empty log message *** 2000-06-20 07:16:27 +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
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
Sven Wischnowsky
4299878002 restore ZLS_COLORS when possible; better group-name handling in ZLS_COLORS (3188) 2000-06-19 08:47:43 +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
818cba3dbf make _files try each pattern only once (and stop after `*') (11915) 2000-06-15 09:06:21 +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
a707108a75 allow insert-tab to contain `pending[=num]' to handle the case when there is pending input (?) 2000-06-13 11:45:26 +00:00
Sven Wischnowsky
428abf6455 new style `suffix'; use accept-exact style in _expand (?) 2000-06-13 11:26:07 +00:00
Peter Stephenson
055d961f84 11867: restrict typeset -H application 2000-06-12 09:27:09 +00:00
Peter Stephenson
6b87e6fda3 11838: typeset -H 2000-06-09 15:37:05 +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
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
9bb23440d2 -K option for zparseopts to keep previous array values (11792) 2000-06-07 07:38:02 +00:00
Sven Wischnowsky
4900804b61 make (e) flag be silent unless (X) is given, too (11768) 2000-06-06 08:35:54 +00:00
Bart Schaefer
4c2601e753 Felix, 11734: Memory leak and doc error. 2000-06-03 16:37:24 +00:00
Peter Stephenson
43d443f602 11733: Solaris sed fix-up for Doc/Zsh/modlist.yo creation 2000-06-02 17:22:50 +00:00
Sven Wischnowsky
5a4253f42e allow display of only messages via $compstate[list]=messages (11688) 2000-05-31 09:56:12 +00:00
Peter Stephenson
b2f8bc5ea2 modlist.yo added to .distfiles 2000-05-30 10:25:57 +00:00
Sven Wischnowsky
08ddb2593b doc fix, missing `)' (11638) 2000-05-29 14:48:38 +00:00
Sven Wischnowsky
fb9ec18e9a make handling of default tag clearer in the docs (3101) 2000-05-29 12:52:20 +00:00
Sven Wischnowsky
a2750a4eff fixes for _arguments with sets; make _zpty not use sets (11624) 2000-05-29 08:00:46 +00:00
Peter Stephenson
9121d78354 11561: no RC_QUOTES in $'..' 2000-05-24 17:20:26 +00:00
Peter Stephenson
8fd4ecc346 11560: Doc/Zsh/expn.yo: pipes are pipes even if plumbing isn't. 2000-05-24 15:20:26 +00:00
Bart Schaefer
53573eaffb 11554: Rearrange _arguments doc some more. 2000-05-24 09:14:34 +00:00
Peter Stephenson
72639fca30 11542: Doc/Zsh/compsys.yo: more wording `improvements' 2000-05-23 19:25:49 +00:00