Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: More intellegent suffix removing?



Andrej Borsenkow wrote:

> > The patch would be the thing below (are there any other characters
> > where this would be the right thing?). It looks a bit ugly when this
> > happens after typing a `<' or `>', though.
> > 
> 
> If Peter decides to keep this patch, it should be of course documented.

Well, for the shell things like `;' are word separators, but maybe, yes...


Bye
 Sven

diff -u od/Zsh/options.yo Doc/Zsh/options.yo
--- od/Zsh/options.yo	Mon Jun  7 13:00:16 1999
+++ Doc/Zsh/options.yo	Mon Jun  7 14:24:06 1999
@@ -119,7 +119,8 @@
 cindex(slash, removing trailing)
 item(tt(AUTO_REMOVE_SLASH))(
 When the last character resulting from a completion is a slash and the next
-character typed is a word delimiter or a slash, remove the slash.
+character typed is a word delimiter, a slash, or a character that ends 
+a command (such as a semicolon or an ampersand), remove the slash.
 )
 pindex(AUTO_RESUME)
 cindex(jobs, resuming automatically)

--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author