Commit 7a1d402c authored by Francois Marier's avatar Francois Marier

Add support for zsh (using upstream patch)

parent 47b8e4f1
......@@ -254,10 +254,13 @@ _cdargs_complete() {
complete $nospace -S / -X '*/' -F _cdargs_aliases cv cb cdb
}
# we do not support anything besides bash completion
# (however patches to support other shells are very welcome)
if [ -z "${BASH_VERSION}" ]; then
# Support ZSH via its BASH completion emulation
if [ -n "$ZSH_VERSION" ]; then
autoload bashcompinit
bashcompinit
elif [ -z "${BASH_VERSION}" ]; then
# we do not support anything besides bash completion
# (however patches to support other shells are very welcome)
return 100
fi
......
......@@ -3,8 +3,11 @@ cdargs (1.35-4) unstable; urgency=low
* Adopt this package (closes: #521484)
* Move the packaging to git.debian.org
* Update FSF address in manpage (closes: #470446)
* Apply Fedora patch to fix parse errors when the login shell is not bash,
see https://bugzilla.redhat.com/show_bug.cgi?id=479398 (LP: #319489)
* Adapt upstream's patch to add support for zsh,
see http://www.skamphausen.de/cgi-bin/ska/cdargs-zsh-completion.patch
* Bump Standards-Version to 3.8.1
* Bump debhelper compatibility to 7
......@@ -13,8 +16,9 @@ cdargs (1.35-4) unstable; urgency=low
* Add watch file
* Fix hyphens in manpage
* Expand long description
*
-- Francois Marier <francois@debian.org> Sun, 29 Mar 2009 13:03:13 +1300
-- Francois Marier <francois@debian.org> Sun, 29 Mar 2009 13:21:09 +1300
cdargs (1.35-3) unstable; urgency=low
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment