1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-27 22:40:20 +02:00
Commit Graph

4455 Commits

Author SHA1 Message Date
Wayne Davison
930c18ee44 Another _rsync tweak. 2006-02-19 17:48:58 +00:00
Wayne Davison
8ca959cea5 Added the missing -h option for --daemon mode. 2006-02-19 17:46:47 +00:00
Wayne Davison
7a84ca093a users/9936 2006-02-18 19:16:04 +00:00
Wayne Davison
1e2f61f116 The code in add_match_data() that looks for invalid characters
now properly parses the string as metafied.
2006-02-18 18:39:38 +00:00
Wayne Davison
3569d06bc4 A few more minor D04parameter.ztst additions. 2006-02-17 21:42:40 +00:00
Wayne Davison
fd679250cc Make sure that the (A) assignment of a single-item array retains
its arrayness.  Also ensure that the array/scalar type of each
assigned variable is correct.
2006-02-17 18:29:57 +00:00
Wayne Davison
16916cd849 Weed out hashed-entry lines from the known_hosts file. 2006-02-16 22:47:14 +00:00
Wayne Davison
4c83a7dbbf Weed out hashed host lines that start with a '|' since they're
completely useless for completion.
2006-02-16 22:44:00 +00:00
Wayne Davison
88ca4d461d 22275 2006-02-16 20:28:42 +00:00
Wayne Davison
1b16d04063 A few more improvements about word splitting. 2006-02-16 20:24:09 +00:00
Wayne Davison
1859e53d20 The rest of 22273. 2006-02-16 19:55:49 +00:00
Wayne Davison
64aae150a0 Test that ${(A)=name:=word} avoids splitting on quoted whitespace. 2006-02-16 19:53:00 +00:00
Wayne Davison
803fa9872f Made ${(A)=name:=word} (which is an array assignment) not split on
quoted whitespace, just like the new ${1+"$@"} handling.
2006-02-16 19:51:48 +00:00
Wayne Davison
0dd130df0d 22273 (1st hunk) to fix a typo in README. 2006-02-16 19:06:58 +00:00
Wayne Davison
7c5d0b2c68 Changed "following" to "preceding". 2006-02-16 19:05:13 +00:00
Peter Stephenson
5a64527427 22272: 4.3.0-dev-4 2006-02-16 14:28:53 +00:00
Wayne Davison
5602319cb7 22270 2006-02-15 18:42:43 +00:00
Wayne Davison
a3a1e8765a Added a test for ${name+$array$scalar}. 2006-02-15 18:38:58 +00:00
Wayne Davison
1811ec9b78 Fixed another ${name+word} problem when word consisted of an
array followed by a scalar.  Also updated several comments.
2006-02-15 18:35:35 +00:00
Peter Stephenson
e7da569762 unposted: fix _perforce to allow matching control on files from p4 output 2006-02-15 10:53:46 +00:00
Wayne Davison
e89840f0cc 22268: ${1+"$@"} fix. 2006-02-15 10:19:05 +00:00
Wayne Davison
e8e9708d4c Document that quoting may be used in the word portion of the
${name:+word} and ${name:-word} expansions.
2006-02-15 10:13:46 +00:00
Wayne Davison
e22cb51922 - Some changes to handle ${1+"$@"} being fixed.
- Added quite a few new tests.
2006-02-15 10:13:43 +00:00
Wayne Davison
d0ea78e557 - Fixed: setopt shwordsplit; set 1 '2 3' 4; print -l ${1+"$@"}
- Fixed: setopt shwordsplit; foo='1 2'; print -l ${==foo+$foo}
- Fixed: emulate sh; touch '1 2'; print -l ${1:-*\ *}
- Improved multsub() and its comments.
2006-02-15 10:13:41 +00:00
Wayne Davison
00f35c2460 Mention that the user can request field-splitting in
addition to choosing to use an array.
2006-02-15 09:43:38 +00:00
Wayne Davison
5b1d731c4b 22215 and 22217. 2006-02-13 11:15:31 +00:00
Wayne Davison
5c8bb4944d Replaced a flawed look-behind algorithm for backslash detection
with one that looks forward (avoiding an accidental quoting of a
char after a "\\" sequence).
2006-02-13 11:06:21 +00:00
Wayne Davison
a6658fb9f6 Made add_match_data() look for invalid multibyte chars in the
names and substitute $'\123' sequences for them.
2006-02-13 11:03:59 +00:00
Wayne Davison
f8e97151de Call makecommaspecial() when we notice we're completing inside
an open brace list.
2006-02-13 11:01:04 +00:00
Wayne Davison
a4d4cf5cf8 Added the makecommaspecial() routine that completion uses when
it is completing filenames into an open brace list.
2006-02-13 10:59:22 +00:00
Peter Stephenson
4ae3672ce8 22235: Eric Mangold: twisted completion 2006-02-12 20:33:58 +00:00
Peter Stephenson
bb729797d3 22237: location of man pages on NetBSD 2006-02-12 20:31:22 +00:00
Clint Adams
492943ac71 22234: Adeodato Simó's quilt completion improvements. 2006-02-11 22:39:28 +00:00
Wayne Davison
ba30034faf Fixed suffix removal. 2006-02-09 22:18:50 +00:00
Wayne Davison
587db0585c Call ZS_memchr() instead of plain memchr() so that suffix-removal
works again.
2006-02-09 22:14:49 +00:00
Wayne Davison
6698e6f676 Define ZS_memchr() as either wmemchr() or memchr(). 2006-02-09 22:12:54 +00:00
Clint Adams
449014dda3 unposted: update some .distfiles. 2006-02-09 15:07:17 +00:00
Clint Adams
21fb933522 22205: patch from R.Ramkumar to use the argument to -C in make completion. 2006-02-09 14:51:24 +00:00
Wayne Davison
c80682a850 One more _rsync change. 2006-02-07 19:11:53 +00:00
Wayne Davison
8c55dca683 Added one last (I hope) new option for the imminent 2.6.7. 2006-02-07 19:10:08 +00:00
Peter Stephenson
ba8349e6ed 22200: process text wasn't unmetafied for output. 2006-02-07 16:55:09 +00:00
Peter Stephenson
30176eaf63 22198: do always set HOME in native emulation 2006-02-07 11:29:30 +00:00
Wayne Davison
90b6199e17 Silenced a compiler warning. 2006-02-07 05:22:59 +00:00
Wayne Davison
b9281e3aa8 Added the missing return value to a newly-added "return". 2006-02-07 05:19:21 +00:00
Peter Stephenson
32f03e33e7 4.3.0-dev-3 2006-02-06 12:05:31 +00:00
Peter Stephenson
3e6fae832b 22195: don't set HOME in the shell 2006-02-06 12:03:05 +00:00
Peter Stephenson
8b0cc87817 22195: don't set HOME in the shell 2006-02-06 11:57:03 +00:00
Wayne Davison
800c270d4d More _rsync changes. 2006-02-05 07:44:34 +00:00
Wayne Davison
cf28fe0b8a - Fixed completion after using the -f option due to a trailing ':',
so removed a bunch of trailing ':'s.
- Use "_directories" for consistency.
- Added some missing "_files" directives.
- Added some default completions for a couple options.
2006-02-05 07:43:11 +00:00
Clint Adams
f9c50389f2 22193: completion for wanna-build. 2006-02-05 03:49:31 +00:00