* _yafc and _setxkbmap not registered by compinit
@ 2007-09-07 16:08 arno
0 siblings, 0 replies; only message in thread
From: arno @ 2007-09-07 16:08 UTC (permalink / raw)
To: zsh-workers
[-- Attachment #1: Type: text/plain, Size: 956 bytes --]
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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-09-07 16:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-07 16:08 _yafc and _setxkbmap not registered by compinit arno
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).