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

1357 Commits

Author SHA1 Message Date
Sven Wischnowsky
4da5c1b2e0 (15509) 2001-07-27 12:56:57 +00:00
Peter Stephenson
0822510626 15507: new zcalc function
15508: cvs tag didn't complete tags despite it's claim.
2001-07-27 11:34:46 +00:00
Bart Schaefer
af2e41f845 Fix typo. 2001-07-25 17:40:30 +00:00
Sven Wischnowsky
f29d50fe9c move pattern matching in the loop to make sure all match specs are used (15487) 2001-07-25 14:49:32 +00:00
Sven Wischnowsky
1df4b6620b some more places where list-separator should be used (15485) 2001-07-25 12:36:34 +00:00
Sven Wischnowsky
c83d16f8ee another fix for 15477 (separator strings); add list-separator style (15484) 2001-07-25 12:18:23 +00:00
Sven Wischnowsky
eba59194d7 make display for groups in _describe nicer; improve packing with list_packed; leave space for type character (list_types) only in groups with at least one file name (15477) 2001-07-25 08:52:34 +00:00
Sven Wischnowsky
a37d1d749d improve user/host completion before a @ (15468) 2001-07-24 07:11:32 +00:00
Sven Wischnowsky
facff10b11 yet another followup to 15497; make _describe filter out non-matching strings before calling compdescribe, otherwise some matches will be hiddens (15415) 2001-07-19 08:40:36 +00:00
Sven Wischnowsky
8c1b953b5a add list-grouped option to make options and such be grouped together if they have the same description; matches with line-display strings can be hidden; hi and du capabalities in complist are only used if set by the user (15407) 2001-07-18 13:10:07 +00:00
Sven Wischnowsky
40f6510196 add support for -R option (15402) 2001-07-18 07:06:59 +00:00
Oliver Kiddle
0f2919ceb1 use colon separator for BSD (15393) 2001-07-17 11:06:24 +00:00
Sven Wischnowsky
72b56dc458 add preserve-prefix style to keep pathname prefix unchanged (15400) 2001-07-17 09:04:29 +00:00
Andrey Borzenkov
ed914f48f3 15390: Cygwin support 2001-07-13 12:30:20 +00:00
Sven Wischnowsky
45051d58ab make _files not use its own description if there is one from a calling function; improve -P-prefix handling in _path_files (15389) 2001-07-13 08:09:49 +00:00
Sven Wischnowsky
bd629defe8 (15357) 2001-07-10 09:25:43 +00:00
Sven Wischnowsky
e988866bda remove not only numeric suffixes, but also `.n' and the like (15352) 2001-07-10 08:10:24 +00:00
Oliver Kiddle
1348458447 add exclusion lists and use _multi_parts for sysctl completion on BSD (15252) 2001-07-06 11:22:13 +00:00
Sven Wischnowsky
f2040baa9b (15283) 2001-07-06 10:46:31 +00:00
Oliver Kiddle
e390c96bd6 add completion for sysctl(8) (15215, 15223) 2001-07-03 14:32:12 +00:00
Bart Schaefer
05fdd6fed2 Return nonzero from _tilde on no matches. 2001-07-02 07:17:00 +00:00
Bart Schaefer
c2277ed220 Merge .distfiles change from 4.0.2 branch. 2001-06-29 05:53:12 +00:00
Oliver Kiddle
45c1cee848 fix for two digit display numbers and -encodings option (15159) 2001-06-28 11:22:55 +00:00
Bart Schaefer
ddf881f053 Unposted: Add _last. 2001-06-28 08:39:41 +00:00
Sven Wischnowsky
3eaedd99a0 Improve completion for `cd' with cdablevars set; cleanup in _cd and _tilde (15152) 2001-06-28 07:47:39 +00:00
Clint Adams
4d37e1e5a2 15079: completion for last(1) 2001-06-25 18:52:14 +00:00
Sven Wischnowsky
7571f04c03 improve pattern matching to make match specs work for manual page completion (15029) 2001-06-21 12:53:55 +00:00
Bart Schaefer
ef89be124d Fix handling of interrupt in two completion widgets. 2001-06-21 10:05:19 +00:00
Bart Schaefer
5470c1fe38 Completion for AUTO_CD. 2001-06-21 09:33:15 +00:00
Bart Schaefer
f256c16efe Fix exit status of compdef. 2001-06-21 09:24:39 +00:00
Bart Schaefer
e8cb280d50 Fix "insert-tab pending" zstyle. 2001-06-20 17:42:15 +00:00
Sven Wischnowsky
7bac7b6f76 14962 2001-06-18 09:53:16 +00:00
Peter Stephenson
87db190920 Load tcp module, zfcd_match, zfget_match where necessary. 2001-06-14 19:58:27 +00:00
Sven Wischnowsky
71a9847d48 fix for comparguments (completing after single letter options that get their argument in the next word); make _values ignore some of the standard option it may get; make _mount use _dir_list in some places and improve that; `document' comparguments and compvalues with some comments in computil.c (14897) 2001-06-13 11:05:51 +00:00
Oliver Kiddle
9c9352cc76 don't complete read-only parameters on the left side of an assignment (14896) 2001-06-13 10:38:10 +00:00
Peter Stephenson
e10c119794 Fix assignment problems spotted by Bart 2001-06-13 09:26:15 +00:00
Sven Wischnowsky
ddd50ac548 14883 2001-06-13 08:45:05 +00:00
Sven Wischnowsky
9cc9cc9466 (14841) 2001-06-11 11:46:23 +00:00
Sven Wischnowsky
a7340e627b two fixes: try all actions that have to be tried (but only once), execute actions if we aren't after an option already (in the same word) (14733) 2001-06-06 09:31:54 +00:00
Chmouel Boudjnah
a77a6994e8 Add --nobuild and --nogpg to rpm completion. 2001-06-05 13:48:08 +00:00
Oliver Kiddle
a594e4eb04 work around ${(@P)1[3,-1]} not working as expected (14658) 2001-06-01 14:29:11 +00:00
Bart Schaefer
849b7800af Add _ruby. 2001-06-01 14:09:04 +00:00
Clint Adams
7ed58fa17d 14635: presume '*core' glob for coredump files 2001-06-01 12:18:02 +00:00
Tanaka Akira
3230fba640 * 14628: Completion/Unix/Command/_ruby: new completion function. 2001-06-01 05:37:02 +00:00
Sven Wischnowsky
171855e2e2 fix tag-order problem with _arguments (completion after an option that gets an argument in the same word); and a fix for completion after -ab, where -a gets an argument in the next word and -b gets one in the same word (14607) 2001-05-31 12:38:34 +00:00
Sven Wischnowsky
ae5e34db25 (14602) 2001-05-31 08:18:36 +00:00
Sven Wischnowsky
1a55d53621 always use supplied matchers (14599) 2001-05-31 07:17:03 +00:00
Oliver Kiddle
13476e2a86 update _pine for pine 4.33, add echoti completion and update _echotc (14567) 2001-05-30 11:54:53 +00:00
Sven Wischnowsky
b6cf214d81 some cleanup (14558) 2001-05-30 07:31:13 +00:00
Oliver Kiddle
56528ccb66 spelling corrections 2001-05-29 17:54:08 +00:00
Chmouel Boudjnah
9ce16aeeec Add support for rpm update-alternatives. 2001-05-29 15:11:40 +00:00
Clint Adams
84c856aa00 14538: cleaner _perl_config_vars from Matt Zimmerman 2001-05-29 14:35:52 +00:00
Clint Adams
99ed055497 14536: multiple --slave loop 2001-05-29 14:21:25 +00:00
Clint Adams
572bd64e32 14533: -> to = -> for dpkg and update-alternatives 2001-05-29 12:39:31 +00:00
Sven Wischnowsky
4a7abbfdd6 use `eval $_comp_setup' in all entry points of the completion system to not only set up the options, but also redirect stdin and ignore trap handlers for ZERR (14530) 2001-05-29 11:59:50 +00:00
Clint Adams
1766842e58 thinko 2001-05-28 19:23:02 +00:00
Clint Adams
aa76e74a05 14513: update-alternatives completion 2001-05-28 19:06:50 +00:00
Clint Adams
661857b161 14512: dpkg --compare-versions behavior tweak 2001-05-28 18:59:03 +00:00
Clint Adams
da9fa61207 14509: ZLS_COLOURS/ZLS_COLORS consistency 2001-05-28 16:01:01 +00:00
Clint Adams
435c1c2fdb 14479: apt-get --reinstall 2001-05-25 14:34:51 +00:00
Oliver Kiddle
0a159d0f73 fix to include + options in tag order (14416) 2001-05-21 16:15:59 +00:00
Clint Adams
25b7d227bc unposted: quote $@ in calls to _arguments 2001-05-21 14:44:48 +00:00
Oliver Kiddle
f6a219657f make use of _arguments in _set (14409) 2001-05-21 12:28:27 +00:00
Clint Adams
e372741874 14378: more programs that process .tex 2001-05-18 02:51:40 +00:00
Tanaka Akira
851f32f14a * 14377: Completion/Unix/Command/_cvs: support new .cvspass format
introduced by cvs-1.11.1.
2001-05-17 18:21:06 +00:00
Peter Stephenson
e0d80b9a2e typo with compset in _lp 2001-05-17 18:14:17 +00:00
Clint Adams
f41bff3ba1 14362: more modprobe stuff 2001-05-16 12:34:32 +00:00
Clint Adams
96ca999e73 14361: better modprobe completion 2001-05-16 12:02:17 +00:00
Oliver Kiddle
b08c6d6e39 fix bug where /sbin/lsmod was redirected in instead of being run (14355) 2001-05-15 15:14:20 +00:00
Sven Wischnowsky
dc9d78c659 (14350) 2001-05-15 13:52:22 +00:00
Clint Adams
6f17b7c2e2 14341: modprobe -r / rmmod completion 2001-05-15 02:32:51 +00:00
Peter Stephenson
ea03bf1ae5 14330: handle quotes better in _most_recent_file 2001-05-14 13:44:13 +00:00
Tanaka Akira
7eb1577bd1 * 14295: Completion/Unix/Command/_cvs: support new cvs subcommands
`rannotate' and `rlog' introduced by cvs-1.11.1.
2001-05-10 09:19:33 +00:00
Oliver Kiddle
7f4eb97085 complete only files that can be chowned (14282) 2001-05-09 15:27:01 +00:00
Oliver Kiddle
e364fb2139 insert redirection operators when expanding after one (14281) 2001-05-09 12:06:10 +00:00
Bart Schaefer
b8fd7a31bd Remove unnecessary '*' from pattern. 2001-05-08 15:09:56 +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
Oliver Kiddle
671fda58c0 match scalar*' not scalar' when checking parameter type (14256) 2001-05-08 11:55:28 +00:00
Oliver Kiddle
4c81ef8686 fix guard to accept partial display numbers (14255) 2001-05-08 11:48:12 +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
525a133f2f double all backslashes before colons in the original pattern (14240) 2001-05-07 09:25:05 +00:00
Bart Schaefer
d58c1780fd Improve handling of b/n/s subscript flags. 2001-05-06 22:35:08 +00:00
Bart Schaefer
c687e5f515 Fix subscript flag descriptions 2001-05-05 20:11:59 +00:00
Oliver Kiddle
080155607e complete subscript flags (14227) 2001-05-04 23:00:18 +00:00
Bart Schaefer
f8f6c27650 Path prefix completion for cvs subcommands. 2001-05-04 17:16:54 +00:00
Oliver Kiddle
a2d8ef7a73 update bindkey completion for bindkey changes in 14046 (14219) 2001-05-04 10:55:57 +00:00
Bart Schaefer
35fa37f5a2 Fix _files -F 2001-05-03 17:07:24 +00:00
Oliver Kiddle
36546001bd minor completion changes (14216) 2001-05-03 13:05:48 +00:00
Clint Adams
64b046ef49 14208: Solaris loadkeys 2001-05-02 16:04:41 +00:00
Clint Adams
e8f602b4e1 14201: completion for loadkeys 2001-05-02 15:02:31 +00:00
Sven Wischnowsky
47d8fd9b6c missing star in suffix-style test pattern (14197) 2001-05-02 08:58:55 +00:00
Sven Wischnowsky
6757c3c734 fixelt for the test for the suffix style; if word contains only a tilde, don't try to expand it (14160) 2001-04-30 11:09:49 +00:00
Bart Schaefer
bb694bad47 NO_kshglob in _comp_options. 2001-04-29 19:12:13 +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
Bart Schaefer
a509b259f8 Use trap for unfunction compadd in _approximate. 2001-04-27 03:20:59 +00:00
Sven Wischnowsky
b4b6d57e2c 14117 2001-04-26 14:40:11 +00:00
Oliver Kiddle
efe55f77a3 new vnc completion and use _guard for pine completion (14112) 2001-04-26 14:00:45 +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
Sven Wischnowsky
105009726b make keep-prefix keep everything up to the first component with a parameter expansion, not only if that is at the beginning of the string (14092) 2001-04-26 07:02:47 +00:00
Bart Schaefer
6aa2261d52 Tilde-path completion tweak. 2001-04-18 16:02:50 +00:00
Sven Wischnowsky
6618fa77c8 remove SUFFIX-handling, it's in _tilde and only needed there (13997) 2001-04-17 09:12:26 +00:00
Oliver Kiddle
d7417bdc0e add completion for common MUAs and a couple of minor fixes (13982) 2001-04-13 18:42:13 +00:00
Bart Schaefer
1bae764d5a Check for parameter expansions before tilde-expansions (fixes bugs reported
in zsh-workers/13971).
2001-04-13 16:31:39 +00:00
Oliver Kiddle
621155b3ec avoid appending a / when called from _cd (13958) 2001-04-12 11:42:01 +00:00
Oliver Kiddle
f48fd1dd86 add _arguments based completion for alias and jobs (13947) 2001-04-12 09:24:40 +00:00
Bart Schaefer
d4f7d8d32c Don't append a / when completing after [-+]*. 2001-04-11 22:26:11 +00:00
Oliver Kiddle
5c380d5ede add _arguments based completion for alias and jobs (13947) 2001-04-11 21:47:17 +00:00
Bart Schaefer
b4d021263d Improve prompt when compaudit finds badness. 2001-04-06 14:47:25 +00:00
Felix Rosencrantz
7bc02e1b74 workers/13914: Added call to _normal after specified class name, and added completion of filenames in jar archive after -x flag 2001-04-06 04:36:48 +00:00
Clint Adams
62e9af7ce6 13909: bad tilde files in some .distfiles 2001-04-05 13:44:58 +00:00
Sven Wischnowsky
bbbf07a3e7 complete only those single letter options with the right prefix character (13908) 2001-04-05 12:12:45 +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
Clint Adams
ec01fb14b4 13899: OSTYPE checking 2001-04-03 21:27:58 +00:00
Oliver Kiddle
da0179bfb2 new completion functions 2001-04-03 21:13:10 +00:00
Clint Adams
cceb266765 13889: move _apm to Unix/Command, add OpenBSD support 2001-04-02 19:21:18 +00:00
Clint Adams
a3fe8cd13f 13884: apm for FreeBSD 4.1 2001-04-02 15:28:15 +00:00
Sven Wischnowsky
956ef612e2 cleanup after function move 2001-04-02 14:36:36 +00:00
Sven Wischnowsky
610a6eb841 more after-move cleanup 2001-04-02 13:34:55 +00:00
Sven Wischnowsky
3d7263ff67 after-move cleanup 2001-04-02 13:04:04 +00:00
Sven Wischnowsky
c6686513ef new _zed 2001-04-02 12:45:05 +00:00
Sven Wischnowsky
cbba9da870 new or changed after move 2001-04-02 12:39:40 +00:00
Sven Wischnowsky
354cc487ff changed after moving functions 2001-04-02 12:35:52 +00:00
Sven Wischnowsky
11a1352ca1 moved from Completion/Linux/_rpm 2001-04-02 12:23:22 +00:00
Sven Wischnowsky
7ff9c8a8bd moved to Completion/Redhat/Command/_rpm 2001-04-02 12:23:15 +00:00
Sven Wischnowsky
efb9b9f813 moved from Completion/Debian/_dpkg-source 2001-04-02 12:22:58 +00:00
Sven Wischnowsky
294a1edcc5 moved to Completion/Debian/Command/_dpkg_source 2001-04-02 12:22:50 +00:00
Sven Wischnowsky
f242fca48e moved from Completion/Debian/_dupload 2001-04-02 12:22:41 +00:00
Sven Wischnowsky
04a54118c9 moved to Completion/Debian/Command/_dupload 2001-04-02 12:22:33 +00:00
Sven Wischnowsky
b197bb0681 moved from Completion/Debian/_dpkg 2001-04-02 12:22:24 +00:00
Sven Wischnowsky
d665e941f8 moved to Completion/Debian/Command/_dpkg 2001-04-02 12:22:16 +00:00
Sven Wischnowsky
40a8f7d01f moved from Completion/Debian/_bug 2001-04-02 12:22:07 +00:00
Sven Wischnowsky
4fe8805752 moved to Completion/Debian/Command/_bug 2001-04-02 12:21:59 +00:00
Sven Wischnowsky
4cab27be64 moved from Completion/Debian/_apt 2001-04-02 12:21:50 +00:00
Sven Wischnowsky
05e677398d moved to Completion/Debian/Command/_apt 2001-04-02 12:21:41 +00:00
Sven Wischnowsky
ce25832700 moved from Completion/Debian/_deb_packages 2001-04-02 12:21:28 +00:00
Sven Wischnowsky
f947682d19 moved to Completion/Debian/Type/_deb_packages 2001-04-02 12:21:20 +00:00
Sven Wischnowsky
934fe94229 moved from Completion/Bsd/_kld 2001-04-02 12:21:07 +00:00
Sven Wischnowsky
6584833eff moved to Completion/BSD/Command/_kld 2001-04-02 12:21:00 +00:00
Sven Wischnowsky
a751000b53 moved from Completion/Bsd/_cvsup 2001-04-02 12:20:52 +00:00
Sven Wischnowsky
c57f51d03c moved to Completion/BSD/Command/_cvsup 2001-04-02 12:20:45 +00:00
Sven Wischnowsky
bca0daa17f moved from Completion/Bsd/_bsd_pkg 2001-04-02 12:20:36 +00:00
Sven Wischnowsky
f90e7a20a8 moved to Completion/BSD/Command/_bsd_pkg 2001-04-02 12:20:29 +00:00
Sven Wischnowsky
ef2897b480 moved from Completion/AIX/_smit 2001-04-02 12:20:13 +00:00
Sven Wischnowsky
fda285cf19 moved to Completion/AIX/Command/_smit 2001-04-02 12:20:05 +00:00
Sven Wischnowsky
35600e71fb moved from Completion/AIX/_lsvg 2001-04-02 12:19:56 +00:00
Sven Wischnowsky
68935e896d moved to Completion/AIX/Command/_lsvg 2001-04-02 12:19:48 +00:00
Sven Wischnowsky
9ba1afd6fd moved from Completion/AIX/_lspv 2001-04-02 12:19:40 +00:00
Sven Wischnowsky
bfe76e38e0 moved to Completion/AIX/Command/_lspv 2001-04-02 12:19:33 +00:00
Sven Wischnowsky
1cccbc4015 moved from Completion/AIX/_lslv 2001-04-02 12:19:25 +00:00