diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-06 10:01:53 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-06 10:01:53 +0000 |
commit | 6c715d1de8f170822197dfce7f794e9919e0c92d (patch) | |
tree | cd8a2a28cd9d6a1b6fd41e704d8276daa9f5474f /misc/rb_optparse.zsh | |
parent | 71f81f81364882e278e1bf7275e509d9d0349604 (diff) | |
download | ruby-6c715d1de8f170822197dfce7f794e9919e0c92d.tar.gz |
* misc/rb_optparse.zsh: fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'misc/rb_optparse.zsh')
-rwxr-xr-x[-rw-r--r--] | misc/rb_optparse.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/rb_optparse.zsh b/misc/rb_optparse.zsh index 2aff063744..28f8ede0fe 100644..100755 --- 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 |