zsh-workers
 help / color / mirror / code / Atom feed
From: arno <arenevier@fdn.fr>
To: zsh-workers@sunsite.dk
Subject: _yafc and _setxkbmap not registered by compinit
Date: Fri, 7 Sep 2007 18:08:40 +0200	[thread overview]
Message-ID: <20070907160840.GA27775@localhost.localdomain> (raw)

[-- 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 --]

                 reply	other threads:[~2007-09-07 16:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070907160840.GA27775@localhost.localdomain \
    --to=arenevier@fdn.fr \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).