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

Re: PATCH: _functions for "functions"



Bart Schaefer wrote:

> I suppose this isn't strictly correct, since "functions" also takes +/-[tum],
> but it seems silly not to complete anything at all for it.

Exactly the same is applicable for aliases. The patch is hopefully right
- I just edited Bart's. It might actually be better to do a separate
compdef function which completes with an '=' suffix for the alias
command.

Oliver Kiddle

Index: Completion/Builtins/_aliases
===================================================================
--- _aliases  1999/03/29 22:35:28     1.2
+++ _aliases  1999/07/21 15:56:24
@@ -1,3 +1,3 @@
-#compdef unalias
+#compdef alias unalias



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