From c9bedcd98923cd9890bd5d92ec5b0ada57bccc31 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Thu, 20 Apr 2000 08:04:56 +0000 Subject: default values for styles in _expand_word, listing expansions with ^Xd, _expand uses add-space style (10854) --- Doc/Zsh/compsys.yo | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'Doc') diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 547db492b..332dc2702 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -74,7 +74,7 @@ to be loaded before the completion system is initialized (i.e. the tt(compinit) function is called) to make sure that the tt(menu-select) widget defined by it will be redefined, too. -Should you need to use the original copmpletion commands, you can still +Should you need to use the original completion commands, you can still bind keys to the old functions by putting a `tt(.)' in front of the command name, e.g. `tt(.expand-or-complete)'. @@ -761,8 +761,12 @@ accepted. ) kindex(add-space, completion style) item(tt(add-space))( -This style is used by the tt(_prefix) completer to decide if a space -should be inserted before the suffix. +This style is used by the tt(_expand) completer. If it `true' (the +default), a space will be inserted after all words resulting forom the +expansion (except for directory names which get a slash). + +It is also used by tt(_prefix) completers to decide if a space should +be inserted before the suffix. ) kindex(ambiguous, completion style) item(tt(ambiguous))( @@ -2263,6 +2267,10 @@ item(tt(_expand_word (^Xe)))( Performs expansion on the current word: equivalent to the standard tt(expand-word) command, but using the tt(_expand) completer. Before calling it, the var(function) field is set to `tt(expand-word)'. + +Different from tt(_expand), this uses a `tt(1)' (one) as default +value for the tt(substitute) and tt(glob) styles, i.e. both types of +expansion will normally be performed. ) findex(_history_complete_word) (\e/) item(tt(_history_complete_word) (\e/))( -- cgit 1.4.1