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

Re: PATCH: new fun with completion



In article <199909060904.LAA29563@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
  Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:

> diff -u -r Completion.old/User/_hosts Completion/User/_hosts
> --- Completion.old/User/_hosts	Fri Sep  3 21:06:44 1999
> +++ Completion/User/_hosts	Fri Sep  3 23:05:30 1999
> @@ -1,4 +1,4 @@
> -#compdef ftp ncftp ping rwho rup xping traceroute nslookup telnet
> +#compdef ftp ncftp ping rwho rup xping traceroute telnet
>  
>  local expl
> diff -u Completion.old/User/_nslookup Completion/User/_nslookup
> --- Completion.old/User/_nslookup	Mon Sep  6 10:48:39 1999
> +++ Completion/User/_nslookup	Mon Sep  6 10:43:52 1999
> @@ -0,0 +1,159 @@
> +#compdef nslookup

Hm. The hunk for _hosts should be reverted because the completion
function for nslookup is _nslookup.

# However, since the hunk is broken --- 4th line is not exist, it is
# rejected.

Index: Completion/User/_hosts
===================================================================
RCS file: /projects/zsh/zsh/Completion/User/_hosts,v
retrieving revision 1.1.1.10
diff -u -F^( -r1.1.1.10 _hosts
--- _hosts	1999/09/06 11:31:06	1.1.1.10
+++ _hosts	1999/09/06 18:33:41
@@ -1,4 +1,4 @@
-#compdef ftp ncftp ping rwho rup xping traceroute nslookup telnet
+#compdef ftp ncftp ping rwho rup xping traceroute telnet
 
 local expl
 
-- 
Tanaka Akira



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