From 6c715d1de8f170822197dfce7f794e9919e0c92d Mon Sep 17 00:00:00 2001 From: kazu Date: Mon, 6 Dec 2010 10:01:53 +0000 Subject: [PATCH] * misc/rb_optparse.zsh: fix typos. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ misc/rb_optparse.zsh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) mode change 100644 => 100755 misc/rb_optparse.zsh diff --git a/ChangeLog b/ChangeLog index 5d16f84538..b9eb661289 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Dec 6 19:00:48 2010 Kazuhiro NISHIYAMA + + * misc/rb_optparse.zsh: fix typos. + Mon Dec 6 18:59:04 2010 Kazuhiro NISHIYAMA * NEWS: add new encodings. diff --git a/misc/rb_optparse.zsh b/misc/rb_optparse.zsh old mode 100644 new mode 100755 index 2aff063744..28f8ede0fe --- a/misc/rb_optparse.zsh +++ b/misc/rb_optparse.zsh @@ -16,10 +16,10 @@ generate-complete-function/ruby/optparse () { 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