zsh-workers
 help / color / mirror / code / Atom feed
* Re: PATCH: _functions for "functions"
@ 1999-07-22 16:54 Oliver Kiddle
  1999-07-23 15:54 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Oliver Kiddle @ 1999-07-22 16:54 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] 3+ messages in thread
* PATCH: _functions for "functions"
@ 1999-07-21 16:03 Bart Schaefer
  0 siblings, 0 replies; 3+ messages in thread
From: Bart Schaefer @ 1999-07-21 16:03 UTC (permalink / raw)
  To: zsh-workers

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

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

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-07-23 15:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-22 16:54 PATCH: _functions for "functions" Oliver Kiddle
1999-07-23 15:54 ` Bart Schaefer
  -- strict thread matches above, loose matches on Subject: below --
1999-07-21 16:03 Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).