1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-10-02 08:51:18 +02:00
Commit Graph

282 Commits

Author SHA1 Message Date
Sven Wischnowsky
f78df94c6a make compvalues unquote the string from the line like comparguments does (16998) 2002-04-17 07:28:17 +00:00
Sven Wischnowsky
e9a2060fe9 treat backslashed bangs in double quotes specially in get_comp_string(), they are more like $s there (16990) 2002-04-16 07:53:13 +00:00
Sven Wischnowsky
45f9a36216 remove that -T option to compdef again and instead use comma-separated sub-contexts both for function and style lookup (16819) 2002-03-13 09:28:04 +00:00
Sven Wischnowsky
6bfc325a94 don't try to build the redirection string for the loops (for, foreach, select) (16776) 2002-03-07 08:38:44 +00:00
Peter Stephenson
849f4068de 16767: Src/Zle/zle_hist.c, Doc/Zsh/zle.yo, Doc/Zsh/contrib.yo,
Functions/Zle/copy-earlier-word:  Enhance insert-last-word to
pick different lines from the history (including the current
line) and different words from that line.  Add copy-earlier-word
as suggested by Dominik Vogt to copy words from either the
current line, or (following an insert-last-word) a previous
history line.
2002-03-05 16:33:19 +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
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
Geoff Wing
71749e822a 16635: make sure we display lists in singlelinezle mode 2002-02-19 00:06:54 +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
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
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
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
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
Bart Schaefer
dfb24f53ec 16269: Fix crash on reserved-word completion. 2001-11-28 18:30:51 +00:00
Chmouel Boudjnah
195d8c5ec6 Add Mandrake completion directory to install 2001-11-15 12:35:47 +00:00
Geoff Wing
cc28002e54 16063: add transientrprompt option to remove right prompt from
display when accepting commands
2001-10-24 07:00:49 +00:00
Sven Wischnowsky
dc472db5f0 hide all but one match with the same string in the list even for unsorted groups (15991) 2001-10-09 09:50:12 +00:00
Sven Wischnowsky
aac666130c fix calculation of number of columns needed with list_packed (15946) 2001-10-05 12:44:00 +00:00
Wayne Davison
4fb4f4cd7a Fixed doisearch() to not switch lines unless zlereadflags has
ZLRF_HISTORY set.
2001-09-17 18:30:49 +00:00
Andrew Main
b73d71105e 15734: zle -K option to select a keymap, and zle KEYMAP parameter to
examine the current selection.
2001-09-03 01:39:19 +00:00
Sven Wischnowsky
c0ea4d62c8 handle possible NULL pointer returned from bufferwords() (15717) 2001-08-28 08:41:51 +00:00
Sven Wischnowsky
b70ec86efe test if hash table pointer is NULL to avoid SEGV with compstate=() (15705) 2001-08-24 09:25:38 +00:00
Sven Wischnowsky
647674f6ab undo most of 15650, do that in shell code (15669) 2001-08-20 13:13:49 +00:00
Sven Wischnowsky
66576ecbf8 15650 2001-08-17 09:25:21 +00:00
Geoff Wing
b67e8b380c Don't segv if we were displaying n lines and screen was
resized to less than  n  lines
2001-08-15 15:17:42 +00:00
Geoff Wing
2eda2a0921 15621: display of status line was being mucked up; continuation
markers "<...." and "<....>" weren't being display properly
2001-08-15 14:48:48 +00:00
Wayne Davison
fe98c239b5 Silence "might be used uninitialized" warnings. 2001-08-08 07:44:00 +00:00
Wayne Davison
4afcd4b149 Got rid of unused variables. 2001-08-08 07:41:04 +00:00
Wayne Davison
21dba96cd6 Silence "might be used uninitialized" warning. 2001-08-08 07:41:01 +00:00
Sven Wischnowsky
7e23143359 follow-up to 15588; add -w option to _values (look at all words); change _dd back (15597) 2001-08-08 07:20:56 +00:00
Sven Wischnowsky
75d5e9bb8b (15526) 2001-07-30 08:42:55 +00:00
Sven Wischnowsky
4da5c1b2e0 (15509) 2001-07-27 12:56:57 +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
c83d16f8ee another fix for 15477 (separator strings); add list-separator style (15484) 2001-07-25 12:18:23 +00:00
Sven Wischnowsky
e1708022d2 fixlet for 15477, don't let it remove consecutive dummy matches (15482) 2001-07-25 10:45:59 +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
79dbcc8382 don't use compsuffix when it might be freed; use the right variable in that loop there, dammit (15433) 2001-07-20 10:54:38 +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
6a3e89d539 fix for 15407; there may be sets without matches (15409) 2001-07-18 13:52:53 +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
bd629defe8 (15357) 2001-07-10 09:25:43 +00:00
Bart Schaefer
22faf1fa4b Suppress XTRACE during user-defined widgets. 2001-07-08 00:32:12 +00:00
Sven Wischnowsky
51503a87a2 (only the patch to compmatch.c from the mail); improve merging cline lists coming from different IPREFIX/PREFIX combinations and such by avoiding to generate cline structs for empty parts after a match spec anchor cline struct (15123) 2001-06-27 13:18:38 +00:00
Sven Wischnowsky
e067118efc fix for finding the first ambiguous path component in compfiles (3946) 2001-06-26 09:05:10 +00:00
Sven Wischnowsky
bbd2a98f41 make expand-word not always restore the command line (3940) 2001-06-25 09:32:21 +00:00
Bart Schaefer
2e4a17b32f Change magic-space to respect !". 2001-06-24 03:42:09 +00:00
Bart Schaefer
0672033cfc Compiler warnings. 2001-06-19 15:46:53 +00:00