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

_yafc and _setxkbmap not registered by compinit



Hi,
I've just discover 2 completions I made a few months ago (_yafc and _setxkbmap) 
are not registered properly because I used:

# compdef command
instead of 
#compdef command

here is a fix.

arno.


diff -Nur zsh-4.3.4.old/Completion/Unix/Command/_yafc zsh-4.3.4/Completion/Unix/Command/_yafc
--- zsh-4.3.4.old/Completion/Unix/Command/_yafc	2007-01-22 17:26:36.000000000 +0100
+++ zsh-4.3.4/Completion/Unix/Command/_yafc	2007-09-07 17:39:38.000000000 +0200
@@ -1,4 +1,4 @@
-# compdef yafc
+#compdef yafc
 
 _yafc() {
     local arguments
diff -Nur zsh-4.3.4.old/Completion/X/Command/_setxkbmap zsh-4.3.4/Completion/X/Command/_setxkbmap
--- zsh-4.3.4.old/Completion/X/Command/_setxkbmap	2006-12-17 16:33:28.000000000 +0100
+++ zsh-4.3.4/Completion/X/Command/_setxkbmap	2007-09-07 17:39:58.000000000 +0200
@@ -1,4 +1,4 @@
-# compdef setxkbmap
+#compdef setxkbmap
 
 # TODO:
 # model, option, symbols and types suggestions

Attachment: signature.asc
Description: Digital signature



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