Your message dated Wed, 01 Nov 2006 17:03:28 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#396486: fixed in zsh 4.3.2-23
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: zsh
Version: 4.3.2-22
Severity: wishlist
Tags: patch
Hi!
Was a surprised that there was no completion for mkdir. So, here's
it. There's still a problem which I have not been able to solve. I
have explained that in the source.
HTH :)
Regards,
Ramkumar.
#compdef mkdir
local curcontext="$curcontext" line state \
args args_zsh args_cmd variant expl ret=1
typeset -a opt_args
args=(
'(-m --mode=)'{-m,--mode=}'[set permission mode]:numeric mode'
'(-p --parents)'{-p,--parents}'[make parent directories as needed]'
)
args_zsh=('(-)*: :->dir')
args_cmd=(
'(-v --verbose)'{-v,--verbose}'[print message for each created directory]'
'(- :)--help[display help information]'
'(- :)--version[display version information]'
'*: :->dir'
)
case "$OSTYPE" in
linux*)
args_cmd=(
'(-Z --context=)'{-Z,--context=}'[set SELinux context]:SELinux context'
$args_cmd)
;;
esac
_pick_variant -r variant gnu=gnu zsh='\(eval\)' unix --help
# It can still happen that there is a precommand command or builtin in the line.
# In such cases, the variant has to be modified suitably, after further checking
# the variant of the _command_ mkdir.
# I currently don't know of any way to find out what precommands are present on
# the line. The variant should be modified like this once a way is found out:
# if [[ $variant == zsh ]]; then
# if [[ $precommand = *command* ]]; then
# _mkdir_command () { command mkdir "$@" }
# _pick_variant -c _mkdir_command -r variant gnu=gnu unix --help
# fi
# elif [[ $precommand = *builtin* ]]; then
# variant=zsh
# fi
if [[ $variant == zsh ]]; then
args+=($args_zsh)
else
args+=($args_cmd)
fi
# remove long options?
[[ $variant != gnu ]] && args=( ${${${args:#(|*\))--*}//--[^ )]#/}/\( #\)/} )
_arguments -C -s $args && ret=0
case "$state" in
dir)
if (( $ret )) && [[ ! -prefix - ]] || \
[[ $variant == zsh && ${#${${words[2,-1]}:#-*}} -gt 0 ]]; then
_wanted parent-directory expl \
'parent directory (alternatively specify name of directory)' \
_path_files -/ || _message 'name of directory'
ret=0
fi
;;
esac
return ret
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (101, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-beyond2
Locale: LANG=en_IN.UTF-8, LC_CTYPE=en_IN.UTF-8 (charmap=UTF-8)
Versions of packages zsh depends on:
ii debconf [debconf-2.0] 1.5.6 Debian configuration management sy
ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries
ii libncurses5 5.5-5 Shared libraries for terminal hand
Versions of packages zsh recommends:
ii libcap1 1:1.10-14 support for getting/setting POSIX.
ii libpcre3 6.7-1 Perl 5 Compatible Regular Expressi
-- no debconf information
--
One of the main causes of the fall of the Roman Empire
was that, lacking zero, they had no way to indicate
successful termination of their C programs.
-- Robert Firth
--- End Message ---
--- Begin Message ---
Source: zsh
Source-Version: 4.3.2-23
We believe that the bug you reported is fixed in the latest version of
zsh, which is due to be installed in the Debian FTP archive:
zsh-dbg_4.3.2-23_sparc.deb
to pool/main/z/zsh/zsh-dbg_4.3.2-23_sparc.deb
zsh-dev_4.3.2-23_sparc.deb
to pool/main/z/zsh/zsh-dev_4.3.2-23_sparc.deb
zsh-doc_4.3.2-23_all.deb
to pool/main/z/zsh/zsh-doc_4.3.2-23_all.deb
zsh-static_4.3.2-23_sparc.deb
to pool/main/z/zsh/zsh-static_4.3.2-23_sparc.deb
zsh_4.3.2-23.diff.gz
to pool/main/z/zsh/zsh_4.3.2-23.diff.gz
zsh_4.3.2-23.dsc
to pool/main/z/zsh/zsh_4.3.2-23.dsc
zsh_4.3.2-23_sparc.deb
to pool/main/z/zsh/zsh_4.3.2-23_sparc.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Clint Adams <[EMAIL PROTECTED]> (supplier of updated zsh package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 1 Nov 2006 19:13:47 -0500
Source: zsh
Binary: zsh zsh-dev zsh-static zsh-dbg zsh-doc
Architecture: source sparc all
Version: 4.3.2-23
Distribution: unstable
Urgency: low
Maintainer: Clint Adams <[EMAIL PROTECTED]>
Changed-By: Clint Adams <[EMAIL PROTECTED]>
Description:
zsh - A shell with lots of features
zsh-dbg - A shell with lots of features (debugging symbols)
zsh-dev - A shell with lots of features (development files)
zsh-doc - zsh documentation - info/HTML format
zsh-static - A shell with lots of features (static link)
Closes: 396486
Changes:
zsh (4.3.2-23) unstable; urgency=low
.
* From R. Ramkumar: Completion for mkdir. closes: #396486.
* Completion for ri.
Files:
ca0d41ea736313e04c68d0002f783aad 739 shells optional zsh_4.3.2-23.dsc
052613533d401e56235696ad0a0ac0e6 243965 shells optional zsh_4.3.2-23.diff.gz
73ee84820834104d31e12ad6d922acd8 701408 shells optional
zsh-doc_4.3.2-23_all.deb
098a099ddd264d60192cc76917e8d019 2238740 shells optional zsh_4.3.2-23_sparc.deb
33928d015144742e645d9a7f69d7f1ae 755388 devel extra zsh-dbg_4.3.2-23_sparc.deb
6a829c33809d2885496d2b7ec368011e 800154 shells optional
zsh-static_4.3.2-23_sparc.deb
4b3fcefce4f734253652f9c0e77621b0 63836 libdevel optional
zsh-dev_4.3.2-23_sparc.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Debian!
iD8DBQFFSUK+5m0u66uWM3ARAvQ/AJ9hqpnZVIsN8ql/HCWlQqUTijbt5gCghiwe
YWILqadGaQGz/qJhg09LpaM=
=TI+x
-----END PGP SIGNATURE-----
--- End Message ---