1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-10-03 09:21:19 +02:00
Commit Graph

1674 Commits

Author SHA1 Message Date
Peter Stephenson
15630b234a 16759: Src/builtin.c: from Eric Norum <eric.norum@usask.ca>:
cd prints output whenever the target directory is not obvious
to the user.  This confuses scripts, so restrict it to
interactive mode.
2002-03-04 15:51:58 +00:00
Sven Wischnowsky
f56ba813bb allow different sets of completion definitions selected with option -T to compdef; use this for parameter values and redirections (16755) 2002-03-04 08:53:41 +00:00
Sven Wischnowsky
10490ec499 add $redirections array to completion system parameters, containing information about all redirections on the line; make this and compstate[redirect] contain the file descriptor number (16751) 2002-03-01 10:41:59 +00:00
Bart Schaefer
4b98b648df 16748: Fix infinite loop introduced by 16464. 2002-03-01 05:14:38 +00:00
Sven Wischnowsky
4e354ca36f allow nterruption of empty while-loops with ^C (16711) 2002-02-25 09:21:14 +00:00
Sven Wischnowsky
9b8176a659 make _message inhibit insertion of matches unless there are faked ones (16710) 2002-02-25 09:16:25 +00:00
Sven Wischnowsky
8dcd8e54c5 make _guard use _mesage -e'; make _message -e' use $curtag as a default; change uses of _guard (16708) 2002-02-25 09:09:31 +00:00
Wayne Davison
5b34b8ddba 16703 2002-02-22 22:14:44 +00:00
Oliver Kiddle
73a4362713 16620, 16697: add a and n parameter expansion flags 2002-02-22 17:28:04 +00:00
Clint Adams
e3b5e1356c 16689: list some things to do. 2002-02-21 13:44:13 +00:00
Clint Adams
d1f65a53bb 16688: clarify the pseudo-randomness of RANDOM. 2002-02-21 13:43:00 +00:00
Bart Schaefer
f2da4d4ed8 Fix sed expression to correctly extract option names from ~/.pinerc file. 2002-02-21 06:00:57 +00:00
Wayne Davison
78a4d0abe2 16678 2002-02-20 19:34:30 +00:00
Oliver Kiddle
6febc8fe67 16619, 16676: add -c, -l and -p options to the dirs builtin 2002-02-20 12:51:51 +00:00
Clint Adams
0de96fc478 16673: add langinfo module as an interface to locale information. 2002-02-19 02:14:08 +00:00
Geoff Wing
9511df82d8 unposted: METAFAQ distribution sites fixup 2002-02-19 00:59:22 +00:00
Geoff Wing
71749e822a 16635: make sure we display lists in singlelinezle mode 2002-02-19 00:06:54 +00:00
Wayne Davison
d8ed8e9659 16672 2002-02-18 19:35:01 +00:00
Sven Wischnowsky
becf65dd7f allow an argument containing only a single colon as a separator between options to _arguments and specs (16669) 2002-02-18 14:36:01 +00:00
Sven Wischnowsky
fa509f5219 fix group handling nothing should now possibly be added to the wrong group again (16668) 2002-02-18 14:30:46 +00:00
Sven Wischnowsky
901d8b4c97 fix test for prefix-needed (16667) 2002-02-18 14:27:36 +00:00
Clint Adams
e8487f3198 16662: use parameter expansion instead of grep, sed, and seq. 2002-02-17 16:46:11 +00:00
Wayne Davison
6788acfc73 users/4678 2002-02-16 09:33:01 +00:00
Wayne Davison
3fd91a7b90 16625 2002-02-16 09:17:41 +00:00
Wayne Davison
86aa24922b 16618 2002-02-16 08:44:18 +00:00
Clint Adams
d5ac256e14 Gergely Nagy, 16644: completion for cdcd. 2002-02-14 17:56:53 +00:00
Geoff Wing
2cd4492c02 unposted: METAFAQ distribution sites fixup 2002-02-14 04:08:58 +00:00
Wayne Davison
8b7c9d40d4 Two unposted tweaks. 2002-02-12 19:36:15 +00:00
Bart Schaefer
d4a5b9916f Add a special-dirs example. 2002-02-12 17:25:18 +00:00
Sven Wischnowsky
77339cc21d add -x option (to be passed on to compadd) to _description and friends; make _message respect any -[12VJ] options it gets, adding the message to that group (16609) 2002-02-12 13:37:00 +00:00
Clint Adams
50758ce645 unposted: improve apm and screen handling 2002-02-09 21:06:13 +00:00
Clint Adams
f50dfba2f2 16590: use a prefix match instead of a "fuzzy-exact" match. 2002-02-08 08:30:09 +00:00
Sven Wischnowsky
9e0f74f07b fix for displaying matches in groups via _describe; go back to displaying one match per line when lines get too long (16582) 2002-02-07 08:40:01 +00:00
Clint Adams
0eefb1ec25 unposted: Colin Walters's prompt, adapted for the theme system 2002-02-07 07:35:14 +00:00
Clint Adams
7dea9669bb 16577: don't return a single dot as the path head of a slash. 2002-02-06 16:48:28 +00:00
Clint Adams
aa9b40fb5d 16568: get listing of entire directory for approximation and other purposes. 2002-02-05 18:10:52 +00:00
Clint Adams
6b932f3cf7 16566: show ls -F classifiers as display strings. 2002-02-05 18:03:24 +00:00
Bart Schaefer
c6d589aadd 16556: No error on `print >&-'. 2002-02-04 19:38:40 +00:00
Clint Adams
8db461b8e4 16555: add | to bracket expression, 2>/dev/null 2002-02-04 18:44:14 +00:00
Clint Adams
190aef0e25 16553: differentiate between files and directories during remote scp completion. 2002-02-04 18:03:02 +00:00
Felix Rosencrantz
2d35fd6ab0 Fixed some problems with _cvs and flags. Fixed _perl to complete a script
args with _normal.
2002-02-04 06:25:35 +00:00
Clint Adams
1dd643b016 16540: short options and local files 2002-02-03 06:12:34 +00:00
Oliver Kiddle
29b704202a Akinori Musha: 16534: a few bug fixes and some wording fixes 2002-02-01 14:28:30 +00:00
Oliver Kiddle
6fd9ce2c82 use RPS2 to put states on the right 2002-01-31 15:30:41 +00:00
Oliver Kiddle
16f1f616f9 16494: extract outermost words with negative arguments to %_ and add %^ 2002-01-31 15:13:26 +00:00
Oliver Kiddle
149aafd65e 16493: correct typos 2002-01-31 15:04:33 +00:00
Oliver Kiddle
5d11abfa3b 16492: add RPROMPT2 variable for right prompts in multi-line commands 2002-01-31 14:44:06 +00:00
Andrew Main
b1dadd97d3 * 16527: Src/Zle/zle_refresh.c: Don't lose the rprompt when
clearing an otherwise-blank line.
2002-01-31 10:51:05 +00:00
Sven Wischnowsky
908065190d fixlet to avoid an empty string in an array; cause completion after cd without any matches to not report that there were no matches (16515) 2002-01-30 08:47:52 +00:00
Clint Adams
c3e0113d1c 16514: initscript completion fixes 2002-01-30 03:38:29 +00:00
Sven Wischnowsky
a2deb3854a slight improvement for 16500 to allow completion after ./<TAB> in all cases (16507) 2002-01-28 16:34:12 +00:00
Clint Adams
79e13d1209 16503: warn on fclose or fflush errors in bin_print. 2002-01-27 22:44:40 +00:00
Clint Adams
a92fca6f8e 16500: don't complete executable files in the current directory if "." is not in path. 2002-01-27 21:57:52 +00:00
Bart Schaefer
fc25322fa3 16419 (_arguments syntax doc), 16435 (hash crash). 2002-01-26 21:11:02 +00:00
Peter Stephenson
8840ce7144 16489: Test/C01arith.ztst: default output for whole numbers
as floats now has `.' at the end, c.f. 16423.
2002-01-23 16:28:16 +00:00
Peter Stephenson
803131605b 16487: Src/glob.c: bug in 16486 when a qualifier in a set
consisted only of flags which were handled globally.
2002-01-22 13:52:29 +00:00
Peter Stephenson
13b57311de 16486: Doc/Zsh/expn.yo, Src/glob.c, Src/pattern.c: support
(#q...) EXTENDED_GLOB syntax for qualifiers.  May be chained,
ignored by pattern matching code.
2002-01-22 12:40:25 +00:00
Sven Wischnowsky
3807c902a2 add new generic fake style and changes to the C-code for that (different implementation of compadd -x) (16483) 2002-01-22 10:22:47 +00:00
Sven Wischnowsky
f463b09b13 allow arguments to be given to functions used by compdef (actually, the strings are eval'uated, so this should be powerful enough) (16472) 2002-01-21 16:13:15 +00:00
Oliver Kiddle
f879a295e1 use pager style instead of $EDITOR and fix bad substitution in exclusion lists 2002-01-17 18:49:32 +00:00
Clint Adams
3708080538 unposted: remove ansi2knr from distfiles 2002-01-16 23:29:01 +00:00
Clint Adams
db5779a84a 16463: apt-cache showsrc completion 2002-01-16 23:25:49 +00:00
Oliver Kiddle
d7822305b4 16461: a number of minor completion function updates 2002-01-16 16:29:51 +00:00
Oliver Kiddle
8476aa7fc2 16449: new chkconfig completion for both the RedHat and IRIX commands 2002-01-14 14:17:50 +00:00
Peter Stephenson
64ba6ab245 16448: math assignment bug introduced by 15291, 15292 2002-01-14 13:46:30 +00:00
Andrey Borzenkov
126d3b9468 16443: fix urpmi.addmedia --distrib; set cache policy just once 2002-01-14 11:30:19 +00:00
Andrey Borzenkov
2cc2628cd1 16437: changes for new urpi in cooker 2002-01-13 13:11:17 +00:00
Sven Wischnowsky
5659f442c0 allow manual pages to be shown separated by section with new separate-sections style (16426) 2002-01-10 11:00:05 +00:00
Peter Stephenson
324e26d8ce 16423: append a `.' to converted floating point output
to stop it looking like an integer
2002-01-10 10:55:20 +00:00
Peter Stephenson
99d54b0b70 16422: zcalc non-default base output 2002-01-09 11:58:04 +00:00
Sven Wischnowsky
3013e98ca4 fix completion after var+= to use value context (16418) 2002-01-08 15:33:23 +00:00
Sven Wischnowsky
2ed74b89ea don't report _arguments-specs more than once (not even shared options with multiple sets) (16417) 2002-01-08 15:29:46 +00:00
Sven Wischnowsky
ba968d10de make sure auto menu isn't started accidentially when bashautolist is set (16408) 2002-01-07 14:43:40 +00:00
Sven Wischnowsky
540618a4fb fix nested _tags-loops by re-initialising the outer one when leaving the inner one (16407) 2002-01-07 14:39:44 +00:00
Sven Wischnowsky
90bbd87734 fixes for completion of signal names with SIG prefix and for completing command names instead of pids (16406) 2002-01-07 14:38:13 +00:00
Bart Schaefer
ad41ecec2b Log entries for 15746, users/4483, 16400. 2002-01-06 01:12:34 +00:00
Oliver Kiddle
95abfc0e2a 16398: updated zstyle completion and related cleanup 2002-01-04 12:09:29 +00:00
Oliver Kiddle
ae0bba2bfc 16397: use nul instead of colon to avoid problems with _value: functions 2002-01-03 18:26:56 +00:00
Oliver Kiddle
96de4d0740 16396: fix argument handling bugs 2002-01-03 12:47:55 +00:00
Clint Adams
e2f9689a3b 16393: completion for Christoph Martin's apt-show-versions script. 2002-01-03 03:39:24 +00:00
Oliver Kiddle
eabe9ea6f8 users/4561: fix code for finding the zipfile's name in the current command-line 2002-01-02 17:14:08 +00:00
Oliver Kiddle
8074e07a2c 16384: new completion for xli/xloadimage and factor out completion of X visuals 2002-01-02 14:45:21 +00:00
Clint Adams
bc10b0e0a5 16375: command completion for fsh 2001-12-26 03:46:13 +00:00
Oliver Kiddle
1b608e1b9a 16372: allow signal names to be prefixed by `SIG' with kill builtin and fix
problem with no argument to kill -n and -s options
2001-12-21 16:33:39 +00:00
Geoff Wing
1d6f9fc0f0 16332: removal of Src/ansi2knr.c and adjustment of build process 2001-12-20 23:52:10 +00:00
Oliver Kiddle
17502f6eb2 add missing description argument in _values calls (16366) 2001-12-19 15:10:38 +00:00
Oliver Kiddle
cd4e617bfd new ifconfig completion (16366) 2001-12-19 15:07:29 +00:00
Oliver Kiddle
b9f675c0e0 16364: further to 16351, except specials from having their value cleared 2001-12-18 14:51:30 +00:00
Oliver Kiddle
68d739c67a small fix to += code from 16353 2001-12-18 09:16:17 +00:00
Clint Adams
0db3827ce2 unposted: back out idiotic patch 2001-12-18 01:24:23 +00:00
Clint Adams
9cf6e76e7d unposted: initialize save to NULL to avoid compiler warning. 2001-12-18 01:21:26 +00:00
Clint Adams
6feb3f57f4 16361: include <stdio.h> to avoid implicit declarations. 2001-12-18 01:13:22 +00:00
Oliver Kiddle
abd901094e 16352: allow output formats to be specified in zcalc 2001-12-17 17:24:09 +00:00
Oliver Kiddle
52b8303537 16353: add += parameter assignments 2001-12-17 17:17:38 +00:00
Clint Adams
8659013fb8 16357: change (n) to (u) so (n) can be reserved. for numeric sorting. 2001-12-17 14:06:27 +00:00
Oliver Kiddle
13ab7280aa fix bug in parameter unset code that caused seg fault (16351) 2001-12-17 11:10:46 +00:00
Clint Adams
3902c8ea8d 16349: completion for make-kpkg 2001-12-17 01:19:33 +00:00
Clint Adams
56854a2fb6 ref 16347: tweaks 2001-12-17 01:16:36 +00:00
Clint Adams
e4a8182ab7 16346: docs for (n) flag. 2001-12-16 21:06:09 +00:00
Clint Adams
1e103ebef3 16345: (n) flag to remove duplicate array values during expansion. 2001-12-16 20:53:44 +00:00