[前][次][番号順一覧][スレッド一覧]

ruby-changes:18076

From: kazu <ko1@a...>
Date: Mon, 6 Dec 2010 19:02:15 +0900 (JST)
Subject: [ruby-changes:18076] Ruby:r30097 (trunk): * misc/rb_optparse.zsh: fix typos.

kazu	2010-12-06 19:01:53 +0900 (Mon, 06 Dec 2010)

  New Revision: 30097

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30097

  Log:
    * misc/rb_optparse.zsh: fix typos.

  Modified files:
    trunk/ChangeLog
    trunk/misc/rb_optparse.zsh

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 30096)
+++ ChangeLog	(revision 30097)
@@ -1,3 +1,7 @@
+Mon Dec  6 19:00:48 2010  Kazuhiro NISHIYAMA  <zn@m...>
+
+	* misc/rb_optparse.zsh: fix typos.
+
 Mon Dec  6 18:59:04 2010  Kazuhiro NISHIYAMA  <zn@m...>
 
 	* NEWS: add new encodings.
Index: misc/rb_optparse.zsh
===================================================================
--- misc/rb_optparse.zsh	(revision 30096)
+++ misc/rb_optparse.zsh	(revision 30097)
@@ -16,10 +16,10 @@
 {
     local cmpl="_${1:t}"
     mkdir -p "${ZSH_COMPLETION_DIR-$HOME/.zsh.d/Completion}"
-    $1 --help=zshcomplete="${1:t}" > "${ZSH_COMPLETION_DIR-$HOME/.zsh.d/Completion}/$comp"
+    $1 --help=zshcomplete="${1:t}" > "${ZSH_COMPLETION_DIR-$HOME/.zsh.d/Completion}/$cmpl"
     if [[ $(type -w "$cmpl") == "${cmpl}: function" ]]; then
 	unfunction "$cmpl"
-	autoload -U "$cmpl}"
+	autoload -U "$cmpl"
     else
         compinit "$cmpl"
     fi

Property changes on: misc/rb_optparse.zsh
___________________________________________________________________
Added: svn:executable
   + *


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]