diff options
author | Frank Terbeck <ft@bewatermyfriend.org> | 2011-02-11 15:59:00 +0100 |
---|---|---|
committer | Frank Terbeck <ft@bewatermyfriend.org> | 2011-03-02 18:55:24 +0100 |
commit | 78ab02ffa00d1f1a149bed755b72ff0bf0ff4bbb (patch) | |
tree | 31d7e3bb3889bad86641781ea4c80bdbed8d7cb6 | |
parent | f6cff33fb722533567992b4152f5072f770e8b93 (diff) | |
download | zsh-78ab02ffa00d1f1a149bed755b72ff0bf0ff4bbb.tar.gz zsh-78ab02ffa00d1f1a149bed755b72ff0bf0ff4bbb.zip |
Initial `debian/' import
-rw-r--r-- | debian/README.Debian | 4 | ||||
-rw-r--r-- | debian/changelog | 3416 | ||||
-rw-r--r-- | debian/conffiles | 6 | ||||
-rw-r--r-- | debian/control | 88 | ||||
-rw-r--r-- | debian/copyright | 36 | ||||
-rw-r--r-- | debian/examples/carstenh.zshrc | 392 | ||||
-rw-r--r-- | debian/examples/compctl.dpkg | 92 | ||||
-rw-r--r-- | debian/examples/jhm.zshrc | 516 | ||||
-rw-r--r-- | debian/examples/ssh_completion | 66 | ||||
-rw-r--r-- | debian/examples/ssh_completion2 | 37 | ||||
-rw-r--r-- | debian/menu | 1 | ||||
-rw-r--r-- | debian/newuser.zshrc.recommended | 37 | ||||
-rw-r--r-- | debian/postinst | 33 | ||||
-rw-r--r-- | debian/postrm | 10 | ||||
-rw-r--r-- | debian/prerm | 23 | ||||
-rwxr-xr-x | debian/rules | 376 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/static.postinst | 22 | ||||
-rw-r--r-- | debian/static.postrm | 7 | ||||
-rw-r--r-- | debian/static.prerm | 17 | ||||
-rw-r--r-- | debian/watch | 3 | ||||
-rw-r--r-- | debian/zlogin | 9 | ||||
-rw-r--r-- | debian/zlogout | 1 | ||||
-rw-r--r-- | debian/zprofile | 7 | ||||
-rw-r--r-- | debian/zsh.doc-base | 19 | ||||
-rw-r--r-- | debian/zshenv | 18 | ||||
-rw-r--r-- | debian/zshrc | 43 |
27 files changed, 5280 insertions, 0 deletions
diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 000000000..5a2fa918a --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,4 @@ +This version of zsh has been compiled with support for maildir +folders in MAIL and MAILPATH. + +Clint Adams <schizo@debian.org> diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 000000000..1c80adabe --- /dev/null +++ b/debian/changelog @@ -0,0 +1,3416 @@ +zsh (4.3.11-3) unstable; urgency=low + + * [6b5d568] Update Vcs-Git and Vcs-Browser control headers. + * [17c579f] New maintainers (pkg-zsh). (Closes: #612143) + + -- Michael Prokop <mika@debian.org> Thu, 10 Feb 2011 10:48:36 +0100 + +zsh (4.3.11-2) unstable; urgency=low + + * Fix psmisc detection of fuser completion, thanks to GI. + closes: #607603. + * Change "recommended" prompt theme to adam1. + * Turn SHARE_HISTORY on in the recommended zshrc. + * Orphan the package. + + -- Clint Adams <clint@zsh.org> Sun, 16 Jan 2011 12:30:13 -0500 + +zsh (4.3.11-1) unstable; urgency=low + + * New upstream release. + + -- Clint Adams <clint@zsh.org> Sat, 25 Dec 2010 09:36:19 -0500 + +zsh (4.3.10-17) unstable; urgency=low + + * Various git completion fixes. + * Complete filenames instead of packages for reportbug if the word + begins with a slash. closes: #538090. + + -- Clint Adams <clint@zsh.org> Sun, 14 Nov 2010 15:39:46 -0500 + +zsh (4.3.10-16) unstable; urgency=low + + * Add git-buildpackage completion from Felipe Sateler. + closes: #602962. + * setopt histignorealldups in the recommended user .zshrc. + + -- Clint Adams <clint@zsh.org> Thu, 11 Nov 2010 14:16:01 -0500 + +zsh (4.3.10-15) unstable; urgency=low + + * Update carstenh.zshrc example. + * Patch from Александр Новиченко to fix recexact segfault in + completion. closes: #590736. + * Bump to Standards-Version 3.9.1. + * Fix zsh-newuser-install newline placement. closes: #591144. + + -- Clint Adams <schizo@debian.org> Tue, 10 Aug 2010 14:58:58 -0400 + +zsh (4.3.10-14) unstable; urgency=low + + * ZW#27804: don't hang on encountering invalid character in + incremental search. closes: #574502. + * xmlsoft --nodtdattr completion thanks to Vincent Lefevre. + closes: #585812. + * Add example .zshrc from Carsten Hey. closes: #587278. + * Add recommended .zshrc for users to choose on initial run. + + -- Clint Adams <schizo@debian.org> Wed, 30 Jun 2010 09:40:28 -0400 + +zsh (4.3.10-13) unstable; urgency=low + + * Patch from Bernd Zeimetz to complete 'bts affects'. + closes: #579529. + * ZW#28006: make zgetcwd() fall back to pwd, only use "." if + setting pwd. closes: #585660. + + -- Clint Adams <schizo@debian.org> Sun, 13 Jun 2010 10:35:03 -0400 + +zsh (4.3.10-12) unstable; urgency=low + + * Do not do host completion for entries in ~/.ssh/known_hosts with + port numbers. + * Fix lsusb completino to work with uncompressed usb.ids. + closes: #579117. + * Add completion for axi-cache. + * Add completion for pbuilder. ref: #570878. + + -- Clint Adams <schizo@debian.org> Sun, 25 Apr 2010 19:05:36 -0400 + +zsh (4.3.10-11) unstable; urgency=low + + * Switch build-dep back to libcap-dev since libcap2-dev is a virtual + package now. + * Bump to Standards-Version 3.8.4. + * Patch from Michael Prokop for apt --no-install-recommends + completion. closes: #570520 + + -- Clint Adams <schizo@debian.org> Sun, 21 Feb 2010 13:15:17 -0500 + +zsh (4.3.10-10) unstable; urgency=low + + * ZW#27565: sanity check numeric arguments to ulimit + * ZW#27566: add ulimit -c hard and immediate return on argument error + closes: #568678. + + -- Clint Adams <schizo@debian.org> Sat, 06 Feb 2010 18:47:41 -0500 + +zsh (4.3.10-9) unstable; urgency=low + + * Patch from Chris Lamb to improve django completion. + closes: #562753. + + -- Clint Adams <schizo@debian.org> Sun, 27 Dec 2009 21:52:39 -0500 + +zsh (4.3.10-8) unstable; urgency=low + + * Patch from Michael Prokop to fix dput --delayed completion. + closes: #560881. + + -- Clint Adams <schizo@debian.org> Sat, 12 Dec 2009 19:16:31 -0500 + +zsh (4.3.10-7) unstable; urgency=low + + * Update prompt_clint_setup to use a slightly different color scheme + when run over ssh. + * Switch to 3.0 (quilt) source format. + * Fix gpg --verify-files completion. closes: #557286. + + -- Clint Adams <schizo@debian.org> Mon, 23 Nov 2009 04:49:17 -0500 + +zsh (4.3.10-6) unstable; urgency=low + + * Update mpc completion for version 0.17. + * Have zsh-doc depend on dpkg (>= 1.15.4) | install-info. + * Drop ancient Conflicts. + * Drop duplicate Priority fields. + * Drop alternative build dependency on tetex-bin. + + -- Clint Adams <schizo@debian.org> Sat, 24 Oct 2009 01:20:39 -0400 + +zsh (4.3.10-5) unstable; urgency=low + + * Possible fix for an intermittent history segfault. closes: #535232. + * Bump to Standards-Version 3.8.3. + + -- Clint Adams <schizo@debian.org> Sun, 16 Aug 2009 19:43:33 -0400 + +zsh (4.3.10-4) unstable; urgency=low + + * Cope with the fact that GCC on Debian GNU/kFreeBSD defines __GLIBC__ + for some nonsensical reason. closes: #536601. + * Update reportbug completion. closes: #537461. + * Remove zsh-doc postinst and prerm. + + -- Clint Adams <schizo@debian.org> Sat, 01 Aug 2009 00:29:15 -0400 + +zsh (4.3.10-3) unstable; urgency=low + + * Bump to Standards-Version 3.8.2. + * Patch from Vincent Bernat to add completion for bts fixed/notfixed. + closes: #536022. + + -- Clint Adams <schizo@debian.org> Fri, 10 Jul 2009 21:58:50 -0400 + +zsh (4.3.10-2) unstable; urgency=medium + + * Patch from Colin Watson to complete for for bzr switch. + closes: #531549. + + -- Clint Adams <schizo@debian.org> Tue, 02 Jun 2009 14:51:43 -0400 + +zsh (4.3.10-1) unstable; urgency=low + + * New upstream version. + - Patch from Kalle Olavi Niemitalo to fix git write-tree + and git send-pack completions. closes: #524754. + - Patch from Patrick Schoenfeld to complete .t files for + perl. closes: #527369. + - Complete apt-get purge. closes: #525215. + * Remove lintian override. + * Remove zsh-doc postinst/prerm invocations of install-docs. + * Move zsh-dbg to Section 'debug'. + * Set custom patchlevel ($ZSH_PATCHLEVEL) to "Debian". + + -- Clint Adams <schizo@debian.org> Mon, 01 Jun 2009 14:20:05 -0400 + +zsh (4.3.9-5) unstable; urgency=low + + * Patch from Greg Klanderman to use device/inode/mtime for svn + completion caching. closes: #512308. + + -- Clint Adams <schizo@debian.org> Thu, 21 May 2009 21:25:43 -0400 + +zsh (4.3.9-4) unstable; urgency=low + + * ZW#26675: add POSIX_ALIASES option. closes: #516998. + * ZW#26602: fix buffer overflow in ! (history) handling. + closes: #521108. + * Bump to Standards-Version 3.8.1. + * ZW#26625, ZU#13593: inopportune interrupt could wreck terminal set + up (combined patch thanks to Vincent Lefevre). closes: #521174. + + -- Clint Adams <schizo@debian.org> Wed, 25 Mar 2009 23:36:43 -0400 + +zsh (4.3.9-3) unstable; urgency=medium + + * ZU#13477: fix completion of files after rm. closes: #517448. + * Patch from Chris Lamb to complete custom Django management commands. + closes: #517672. + + -- Clint Adams <schizo@debian.org> Sun, 01 Mar 2009 11:16:34 -0500 + +zsh (4.3.9-2) unstable; urgency=low + + * Patch from Daniel Friesel to complete .flac files for mplayer. + closes: #516816. + * Patch from Sven Joachim to complete aptitude build-dep. + closes: #512671. + * Tim Schumacher's completion for xmms2, thanks to Louis-David + Mitterrand. closes: #512610. + + -- Clint Adams <schizo@debian.org> Sat, 28 Feb 2009 14:44:32 -0500 + +zsh (4.3.9-1) unstable; urgency=low + + * New upstream version. + - Fixes completion errors when CSH_JUNKIE_QUOTES is set. closes: #497663. + - Fixes some broken handling of Unicode characters in completion. + closes: #501851. + * Patch from Chris Lamb for lintian-info completion. closes: #490383. + * Patch from Chris Lamb for Django 1.0 completion. closes: #500489 + * Patch from Ansgar Burchardt to improve bts completion. closes: #503575. + * Remove --remote-sent-files from rsync completion, thanks to + Louis-David Mitterrand. closes: #498780. + * Fix compinstall losing prior config thanks to Morita Sho. + closes: #501248. + * Merge in minor rules tweaks from zsh-beta. + * Patch from Ryo IGARASHI to equate 'bzr co' with 'bzr checkout'. + closes: #504769. + + -- Clint Adams <schizo@debian.org> Mon, 29 Dec 2008 12:01:01 -0500 + +zsh (4.3.6-7) unstable; urgency=medium + + * Add grep-excuses completion from Chris Lamb. closes: #494137. + * Apply patch from Chris Lamb for apt-show-versions completion + improvement. closes: #494138. + + -- Clint Adams <schizo@debian.org> Fri, 08 Aug 2008 15:21:25 -0400 + +zsh (4.3.6-6) unstable; urgency=medium + + * Fudge curses module check to build with libncursesw5-dev. + * Apply patch from Chris Lamb to add xrandr --same-as completion. + closes: #487626. + * Fix completion of gpg --recv-keys and --send-keys. closes: #491742. + + -- Clint Adams <schizo@debian.org> Tue, 22 Jul 2008 22:39:19 -0400 + +zsh (4.3.6-5) unstable; urgency=medium + + * ZU#13036: recognize . as a valid username character. + closes: #490968. + * Bump to Standards-Version 3.8.0. + + -- Clint Adams <schizo@debian.org> Wed, 16 Jul 2008 18:33:18 -0400 + +zsh (4.3.6-4) unstable; urgency=medium + + * Tweak configure so that dpkg-dev setting CPPFLAGS to the null string + doesn't break LFS. closes: #483867. + + -- Clint Adams <schizo@debian.org> Sat, 31 May 2008 17:42:20 -0400 + +zsh (4.3.6-3) unstable; urgency=low + + * Update locate completion to properly handle newer versions of GNU + findutils. closes: #482662. + + -- Clint Adams <schizo@debian.org> Sat, 31 May 2008 13:14:20 -0400 + +zsh (4.3.6-2) unstable; urgency=medium + + * Complete .spx files after ogg123, thanks to Markus Waldeck. closes: + #474744. + * Call configure with --enable-readnullcmd=pager (for when this + becomes meaningful in the next upstream version, thanks to Marc Chantreux). + * Hardcode default readnullcmd to "pager" instead of "more". closes: + #477722. + + -- Clint Adams <schizo@debian.org> Mon, 28 Apr 2008 21:14:12 -0400 + +zsh (4.3.6-1) unstable; urgency=medium + + * New upstream version. + * Unconditionally add zsh and zsh-static to /etc/shells in postinst, + to ensure smooth transition to lenny+1. closes: #473652. + + -- Clint Adams <schizo@debian.org> Wed, 02 Apr 2008 11:31:01 -0400 + +zsh (4.3.5-8) unstable; urgency=low + + * Avoid removal/readdition of shells in /etc/shells on package + upgrades, in order to preserve local changes. + closes: #473199, #473200. + * Switch build dependency to libcap2-dev. + + -- Clint Adams <schizo@debian.org> Sat, 29 Mar 2008 13:15:58 -0400 + +zsh (4.3.5-7) unstable; urgency=medium + + * Complete packages for aptitude why and why-not. closes: #472193. + * Make git completion cope with user configs setting colors to + "always". closes: #469588. + * Move doc-base section to 'Shells' in accordance with doc-base 0.8.10 + policy. + * Add PDF format to the doc-base control file. + + -- Clint Adams <schizo@debian.org> Sun, 23 Mar 2008 12:06:29 -0400 + +zsh (4.3.5-6) unstable; urgency=low + + * Completion for calendar. + * Update git completion (bisect skip and run, copying with the + situation wherein git is an alias to a wrapper). + + -- Clint Adams <schizo@debian.org> Sun, 16 Mar 2008 10:46:49 -0400 + +zsh (4.3.5-5) unstable; urgency=medium + + * Fix completion of rsync -e ssh remote pathnames containing spaces. + closes: #468654. + + -- Clint Adams <schizo@debian.org> Sun, 02 Mar 2008 16:55:13 -0500 + +zsh (4.3.5-4) unstable; urgency=low + + * ZW#24611: fix ${+array[...]} with empty range matches. + closes: #466655. + + -- Clint Adams <schizo@debian.org> Thu, 28 Feb 2008 00:04:41 -0500 + +zsh (4.3.5-3) unstable; urgency=medium + + * ZU#12632: fix bug unexporting special parameter after + "SPECIAL=stuff funccall". closes: #317773. + * Drop --print-gnu-build-architecture from dpkg completion. + closes: #466904. + * Patch documentation to reflect that global rc files are + in /etc/zsh. closes: #466596. + * Add Vcs-Git and Vcs-Browser control headers. + + -- Clint Adams <schizo@debian.org> Fri, 22 Feb 2008 10:07:10 -0500 + +zsh (4.3.5-2) unstable; urgency=low + + * Add Homepage control field. + * Apply patches from A Costa to fix documentation typos. + closes: #463613, #463614, #463615, #463616, #463617, #463619, + #463620, #463621, #463622. + * Drop debconf-related dependencies and all vestiges of the + debconf note. closes: #463916. + * Remove conffile movement code from postinst. + + -- Clint Adams <schizo@debian.org> Tue, 12 Feb 2008 18:28:01 -0500 + +zsh (4.3.5-1) unstable; urgency=low + + * New upstream version. + + -- Clint Adams <schizo@debian.org> Fri, 01 Feb 2008 11:44:10 -0500 + +zsh (4.3.4-dev-8-1) unstable; urgency=low + + * New upstream development release. + + -- Clint Adams <schizo@debian.org> Tue, 29 Jan 2008 09:29:38 -0500 + +zsh (4.3.4-dev-7-4) unstable; urgency=low + + * Add symlink for zsh4-static man page. + * Reduce testsuite verbosity back to normal. + * Update dpkg completion. closes: #460566. + * Fix sed completion for multiple input files. closes: #461143. + + -- Clint Adams <schizo@debian.org> Sun, 27 Jan 2008 21:55:52 -0500 + +zsh (4.3.4-dev-7-3) unstable; urgency=low + + * Remove leading spaces from Texinfo direntry, since they cause + dpkg's broken install-info to break. closes: #460158. + + -- Clint Adams <schizo@debian.org> Fri, 18 Jan 2008 18:44:04 -0500 + +zsh (4.3.4-dev-7-2) unstable; urgency=medium + + * ZW#24384: eliminate invalid pointer causing segfault when + trying to complete 'apt-c('. closes: #459896. + + -- Clint Adams <schizo@debian.org> Thu, 10 Jan 2008 11:48:26 -0500 + +zsh (4.3.4-dev-7-1) unstable; urgency=low + + * New upstream development release. + + -- Clint Adams <schizo@debian.org> Tue, 08 Jan 2008 12:55:44 -0500 + +zsh (4.3.4-dev-6-10) unstable; urgency=medium + + * Update completion for xpdf. closes: #458422. + * Update run-help to CVS version. + + -- Clint Adams <schizo@debian.org> Fri, 04 Jan 2008 13:46:20 -0500 + +zsh (4.3.4-dev-6-9) unstable; urgency=low + + * Update completion for metaflac. + + -- Clint Adams <schizo@debian.org> Fri, 04 Jan 2008 12:33:47 -0500 + +zsh (4.3.4-dev-6-8) unstable; urgency=low + + * Drop Debian run-help fork and modify upstream run-help at build + time with sed. + * Reduce testsuite verbosity to level 1. + + -- Clint Adams <schizo@debian.org> Fri, 04 Jan 2008 10:46:04 -0500 + +zsh (4.3.4-dev-6-7) unstable; urgency=low + + * Tweak run-help so that it runs man on tails and not full + pathnames. + * Increase testsuite verbosity. + + -- Clint Adams <schizo@debian.org> Sun, 30 Dec 2007 14:30:22 -0500 + +zsh (4.3.4-dev-6-6) unstable; urgency=low + + * Ignore testsuite failures. + + -- Clint Adams <schizo@debian.org> Tue, 25 Dec 2007 16:26:57 -0500 + +zsh (4.3.4-dev-6-5) unstable; urgency=low + + * Add extra diagnostic to test harness to track down potential + problem with V01zmodload test on the buildds. + + -- Clint Adams <schizo@debian.org> Tue, 25 Dec 2007 12:12:19 -0500 + +zsh (4.3.4-dev-6-4) unstable; urgency=low + + * Remove leading spaces from Texinfo direntry, since they cause + a "fixed" makeinfo to break. closes: #457741, #457743. + + -- Clint Adams <schizo@debian.org> Tue, 25 Dec 2007 10:36:07 -0500 + +zsh (4.3.4-dev-6-3) unstable; urgency=low + + * Tweak test suite so that skipped tests are not counted as failures. + + -- Clint Adams <schizo@debian.org> Mon, 24 Dec 2007 20:40:59 -0500 + +zsh (4.3.4-dev-6-2) unstable; urgency=low + + * Move zsh-doc to section 'doc'. + * Set HOME to a directory guaranteed to exist while running the + test suite. + + -- Clint Adams <schizo@debian.org> Mon, 24 Dec 2007 14:34:33 -0500 + +zsh (4.3.4-dev-6-1) unstable; urgency=low + + * New upstream development release. + * Drop version number from the function directory. closes: #455891. + * Switch to ncursesw. + + -- Clint Adams <schizo@debian.org> Thu, 20 Dec 2007 09:53:11 -0500 + +zsh (4.3.4-dev-5-1) unstable; urgency=low + + * New upstream development release. + + -- Clint Adams <schizo@debian.org> Mon, 17 Dec 2007 14:58:14 -0500 + +zsh (4.3.4-dev-4-2) unstable; urgency=low + + * Drop module linking patch. + + -- Clint Adams <schizo@debian.org> Sat, 15 Dec 2007 11:30:25 -0500 + +zsh (4.3.4-dev-4-1) unstable; urgency=low + + * New upstream development release. + + -- Clint Adams <schizo@debian.org> Tue, 11 Dec 2007 10:23:17 -0500 + +zsh (4.3.4-dev-3-3) unstable; urgency=low + + * Use LDFLAGS=-Wl,--as-needed for zsh binary and modules. + * Bump to Standards-Version 3.7.3. + * Add completion for id. closes: #454990. + * Add completion for members. closes: #454994. + * Apply patch from Vincent Lefevre to handle "-include" in make + completion. closes: #455070. + + -- Clint Adams <schizo@debian.org> Mon, 10 Dec 2007 20:25:33 -0500 + +zsh (4.3.4-dev-3-2) unstable; urgency=high + + * Stop shipping difflog.pl in the binary package. closes: #454073. + [CVE-2007-6209]. + + -- Clint Adams <schizo@debian.org> Tue, 04 Dec 2007 10:17:27 -0500 + +zsh (4.3.4-dev-3-1) unstable; urgency=medium + + * New upstream development release. + - fixes segfault when doing + `export TERM=dumb; export TERM=xterm; export TERM=dumb`. + closes: #452915. + + -- Clint Adams <schizo@debian.org> Mon, 26 Nov 2007 11:51:38 -0500 + +zsh (4.3.4-dev-2-1) unstable; urgency=low + + * New upstream development release. + - properly handles negative zero. closes: #448732. + - default to POSIX symlink dereferencing behavior in chgrp + builtin. closes: #439036. + + -- Clint Adams <schizo@debian.org> Sun, 25 Nov 2007 19:46:49 -0500 + +zsh (4.3.4-27) unstable; urgency=low + + * Fix two issues with `git push` completion, thanks to Sean Finney. + * Fix typo in the "clint" prompt. + + -- Clint Adams <schizo@debian.org> Thu, 22 Nov 2007 14:16:29 -0500 + +zsh (4.3.4-26) unstable; urgency=low + + * Add completion for cut, from Dr. Markus Waldeck. + closes: #448465. + * Only run $(MAKE) distclean if Makefile exists. + * Don't install any of the completion function files +x. + + -- Clint Adams <schizo@debian.org> Mon, 12 Nov 2007 12:13:36 -0500 + +zsh (4.3.4-25) unstable; urgency=low + + * Add completion for dpkg-repack, from Dr. Markus Waldeck. + closes: #448182. + + -- Clint Adams <schizo@debian.org> Fri, 26 Oct 2007 15:22:39 -0400 + +zsh (4.3.4-24) unstable; urgency=low + + * Add completion for growisofs. + + -- Clint Adams <schizo@debian.org> Mon, 22 Oct 2007 21:26:38 -0400 + +zsh (4.3.4-23) unstable; urgency=low + + * Update git completion. + * Update clint prompt. + + -- Clint Adams <schizo@debian.org> Fri, 19 Oct 2007 11:30:31 -0400 + +zsh (4.3.4-22) unstable; urgency=medium + + * Fix broken git svnimport completion. closes: #446800. + + -- Clint Adams <schizo@debian.org> Mon, 15 Oct 2007 15:52:56 -0400 + +zsh (4.3.4-21) unstable; urgency=low + + * Add .m4 file for aclocal in -dev package. + * Guard (ZSH_OOT_MODULE) struct timezone definition in Src/system.h + to facilitate out-of-tree module building. + * Update git completion. + + -- Clint Adams <schizo@debian.org> Fri, 12 Oct 2007 09:45:15 -0400 + +zsh (4.3.4-20) unstable; urgency=low + + * Update git completion. + + -- Clint Adams <schizo@debian.org> Thu, 04 Oct 2007 05:13:07 -0400 + +zsh (4.3.4-19) unstable; urgency=low + + * Update subversion completion. + * Update git completion, including git-mergetool. closes: #444747. + * Add completion for dpkg-buildpackage. + * Add completion for svn-buildpackage. closes: #345437. + * Change menu section to Applications/Shells. + + -- Clint Adams <schizo@debian.org> Sun, 30 Sep 2007 14:20:18 -0400 + +zsh (4.3.4-18) unstable; urgency=medium + + * Fix git rm completion. closes: #443489. + + -- Clint Adams <schizo@debian.org> Fri, 21 Sep 2007 14:50:16 -0400 + +zsh (4.3.4-17) unstable; urgency=low + + * Update dput completion. + + -- Clint Adams <schizo@debian.org> Sat, 15 Sep 2007 07:30:42 -0400 + +zsh (4.3.4-16) unstable; urgency=medium + + * Fix segfault with vi history search. closes: #439425. + + -- Clint Adams <schizo@debian.org> Thu, 13 Sep 2007 16:48:11 -0400 + +zsh (4.3.4-15) unstable; urgency=medium + + * ZW#23794: don't segfault when trying to complete after strings such + as "foo$". + * Chris Lamb's completion for lighty-{enable,disable}-mod. + closes: #439261. + + -- Clint Adams <schizo@debian.org> Thu, 30 Aug 2007 18:31:25 -0400 + +zsh (4.3.4-14) unstable; urgency=low + + * Ship md5sums for zsh-dev and zsh-dbg. + + -- Clint Adams <schizo@debian.org> Thu, 16 Aug 2007 19:44:20 -0400 + +zsh (4.3.4-13) unstable; urgency=medium + + * Complete for apt-get autoremove. closes: #436357. + * Make bts show completion be exactly the same as bts bugs + completion. closes: #429640. + * Complete for bts cache and bts cleancache. closes: #349033. + + -- Clint Adams <schizo@debian.org> Tue, 07 Aug 2007 10:25:45 -0400 + +zsh (4.3.4-12) unstable; urgency=medium + + * Update dvips completion to handle -G, -j, -R, -u, -U, -v, -V, -y, + and -z. + * Handle arguments to dvips -P without intervening space. + closes: #434879. + * ZW#23450: fix undefined widget causing crash in in $widgets special + parameter. + + -- Clint Adams <schizo@debian.org> Sun, 29 Jul 2007 10:37:59 -0400 + +zsh (4.3.4-11) unstable; urgency=low + + * Patch from Magnus Therning to make tin completion respect TIN_HOMEDIR + environment variable. closes: #433767. + * Patch from Vincent Lefevre to redirect apt-cache's stderr whining to + /dev/null in deb package completion. closes: #432036. + + -- Clint Adams <schizo@debian.org> Fri, 20 Jul 2007 05:42:36 -0400 + +zsh (4.3.4-10) unstable; urgency=high + + * Remove preinst (the need for conffile moves pre-dates sarge). + * Engage in historical revisionism and remove ancient "closes=" + pairs from changelog. + * Bring accidentally-misplaced postinst back. closes: #431422. + + -- Clint Adams <schizo@debian.org> Tue, 26 Jun 2007 12:30:40 -0400 + +zsh (4.3.4-9) unstable; urgency=low + + * Word-compile functions at build time instead of in postinst. + closes: #430472. + + -- Clint Adams <schizo@debian.org> Tue, 26 Jun 2007 11:43:42 -0400 + +zsh (4.3.4-8) unstable; urgency=low + + * Complete already-controlled files after 'git add'. closes: #428793. + + -- Clint Adams <schizo@debian.org> Thu, 14 Jun 2007 10:12:44 -0400 + +zsh (4.3.4-7) unstable; urgency=low + + * Complete filenames after 'git reset <revision>'. closes: #428705. + * Fix wodim completion to not run cdrecord. closes: #426266. + * Change tex build dependency to texlive-latex-base | tetex-bin. + + -- Clint Adams <schizo@debian.org> Wed, 13 Jun 2007 12:42:59 -0400 + +zsh (4.3.4-6) unstable; urgency=medium + + * ZW#23478. Fix segfault in reverse-menu-complete. closes: #426161. + + -- Clint Adams <schizo@debian.org> Wed, 06 Jun 2007 12:55:43 -0400 + +zsh (4.3.4-5) unstable; urgency=low + + * Clean up detritus from zsh-dev and zsh-dbg packages in + clean target. closes: #424078. + + -- Clint Adams <schizo@debian.org> Tue, 15 May 2007 19:22:49 -0400 + +zsh (4.3.4-4) unstable; urgency=low + + * Apply patch from Alexander Myodov to better complete sessions for + screen. closes: #423897. + * Merge changes into Debian run-help. + + -- Clint Adams <schizo@debian.org> Mon, 14 May 2007 15:50:00 -0400 + +zsh (4.3.4-3) unstable; urgency=low + + * Add Italian debconf templates translation from Luca Monducci. + closes: #422418. + * Build and ship the PDF in zsh-doc. closes: #319595. + * Add build dependency on texlive | tetex-bin. + + -- Clint Adams <schizo@debian.org> Sun, 06 May 2007 16:57:40 -0400 + +zsh (4.3.4-2) unstable; urgency=medium + + * Correct semi-colon typo in add-zsh-hook. + + -- Clint Adams <schizo@debian.org> Thu, 19 Apr 2007 15:51:43 -0400 + +zsh (4.3.4-1) unstable; urgency=low + + * New upstream version. + + -- Clint Adams <schizo@debian.org> Thu, 19 Apr 2007 07:29:14 -0400 + +zsh (4.3.3-1) unstable; urgency=low + + * New upstream version. + * Fix "too much .RE in zsh manpages". closes: #391002. + + -- Clint Adams <schizo@debian.org> Wed, 18 Apr 2007 17:00:27 -0400 + +zsh (4.3.2-26) unstable; urgency=low + + * Add completion for apt-cache --install. closes: #412679. + * Update completion for make-kpkg. closes: #410924. + * Fix completion for mpc. closes: #405578 + * Fix completion for darcs. closes: #400500. + * Fix build system logic error for zsh-dev. closes: #411885. + * Add gl.po from Jacobo Tarrio. closes: #412197. + * Update completion for aptitude. closes: #405355. + + -- Clint Adams <schizo@debian.org> Tue, 10 Apr 2007 09:46:46 -0400 + +zsh (4.3.2-25) unstable; urgency=medium + + * ZW#23008: don't change a 126 return code to a 127 when stderr + is redirected. + + -- Clint Adams <schizo@debian.org> Thu, 23 Nov 2006 21:17:31 -0500 + +zsh (4.3.2-24) unstable; urgency=medium + + * Completion for toilet. + * Fix acpi completion. + * Complete cdrecord options for wodim. + * Complete .xpi files for zip/unzip. + + -- Clint Adams <schizo@debian.org> Fri, 17 Nov 2006 23:32:34 -0500 + +zsh (4.3.2-23) unstable; urgency=low + + * From R. Ramkumar: Completion for mkdir. closes: #396486. + * Completion for ri. + + -- Clint Adams <schizo@debian.org> Wed, 1 Nov 2006 19:13:47 -0500 + +zsh (4.3.2-22) unstable; urgency=medium + + * ZW#22584: Frank Terbeck's fix to complete uncompressed archives. + closes: #394818. + + -- Clint Adams <schizo@debian.org> Mon, 23 Oct 2006 09:10:09 -0400 + +zsh (4.3.2-21) unstable; urgency=high + + * Remove stray .orig files from source package. closes: #392113. + * Update completion for aptitude. closes: #392338. + * Completion for a2ensite, a2dissite, a2enmod, a2dismod. + closes: #392338. + + -- Clint Adams <schizo@debian.org> Sat, 14 Oct 2006 12:05:42 -0400 + +zsh (4.3.2-20) unstable; urgency=low + + * Complete .flv and .mp4 files for mplayer. closes: #390714. + * Completion for pon and invoke-rc.d. closes: #391001. + + -- Clint Adams <schizo@debian.org> Sat, 7 Oct 2006 04:34:39 -0400 + +zsh (4.3.2-19) unstable; urgency=medium + + * Fix buggy gpg --encrypt-to completion. + * From Roger Leigh: Completion updates for dchroot and schroot, + and new completion for dchroot-dsa. closes: #390574. + * From R. Ramkumar: Completion of bindable IP addresses for + bittorrent, rsync, ssh, and wget. closes: #390109. + + -- Clint Adams <schizo@debian.org> Tue, 3 Oct 2006 12:02:03 -0400 + +zsh (4.3.2-18) unstable; urgency=low + + * Completion for acpitool. closes: #389795. + * Add https protocol to url completion. closes: #389796. + * Fix typo in subversion completion. closes: #389799. + * Add R. Ramkumar's generic fuse completion support. + closes: #389801. + * Cleanup for bittorrent completion. closes: #390048. + * Change fusermount completion to use generic fuse + function. closes: #390049. + + -- Clint Adams <schizo@debian.org> Sat, 30 Sep 2006 17:04:54 -0400 + +zsh (4.3.2-17) unstable; urgency=low + + * Implement ulimit -e and -r (same as limit nice and + limit rt_priority). + * Change zsh-dbg dependency on zsh from Source-Version to + binary:Version. + + -- Clint Adams <schizo@debian.org> Fri, 15 Sep 2006 17:14:35 -0400 + +zsh (4.3.2-16) unstable; urgency=medium + + * ZW#22715: fix broken logic for AUTO_CONTINUE. closes: #271488. + + -- Clint Adams <schizo@debian.org> Fri, 15 Sep 2006 14:56:52 -0400 + +zsh (4.3.2-15) unstable; urgency=low + + * Complete for 'baz switch'. cf. #383115. + * Handle single-digit and two-digit octal escapes in printf + builtin. closes: #386730. + + -- Clint Adams <schizo@debian.org> Tue, 15 Aug 2006 01:05:11 -0400 + +zsh (4.3.2-14) unstable; urgency=low + + * Add completion for cssh (clusterssh). + * Slightly improve completion for svn propset. closes: #377647. + + -- Clint Adams <schizo@debian.org> Tue, 11 Jul 2006 22:38:44 -0400 + +zsh (4.3.2-13) unstable; urgency=medium + + * Complete compressed tarball filenames for GNU tar even when + a compression option isn't specified. closes: #375186. + + -- Clint Adams <schizo@debian.org> Sat, 24 Jun 2006 15:29:58 -0400 + +zsh (4.3.2-12) unstable; urgency=medium + + * Extend madison completion to rmadison. + * Add completion for dak. + * ZU#10282: completion associated sections with man page names. + * Fix lintian option completion. + * Bump to Standards-Version 3.7.2. + + -- Clint Adams <schizo@debian.org> Fri, 9 Jun 2006 15:00:28 -0400 + +zsh (4.3.2-11) unstable; urgency=medium + + * Patch from Oliver Kiddle to update subversion completion + for diff and resolved subcommands. closes: #342348, #368903. + * Update bzr completion from HEAD. + * Add completion for vserver. closes: #365238. + * Remove /usr/bin/X11 from /etc/zsh/zshenv PATH. closes: #366417. + * Patch from R.Ramkumar to canonicalize completion alternatives + for use in umount. closes: #368404. + + -- Clint Adams <schizo@debian.org> Fri, 2 Jun 2006 16:33:05 -0400 + +zsh (4.3.2-10) unstable; urgency=medium + + * Patch from R.Ramkumar to update valgrind completion. + closes: #368389. + * Patch from R.Ramkumar to update and fix mpc completion. + closes: #368390. + + -- Clint Adams <schizo@debian.org> Thu, 25 May 2006 23:29:15 -0400 + +zsh (4.3.2-9) unstable; urgency=medium + + * Add completion for tcptraceroute, traceroute, tracepath6. + * ZW#22448: Don't segfault when "completing arrays". + closes: #367823. + * Unalias run-help in /etc/zsh/zshrc again. + + -- Clint Adams <schizo@debian.org> Sat, 20 May 2006 12:57:03 -0400 + +zsh (4.3.2-8) unstable; urgency=medium + + * Patch from R.Ramkumar to complete "mpc --no-status". + closes: #364708 + * Handle kfreebsd-amd64 in the build-depends. closes: #361453. + + -- Clint Adams <schizo@debian.org> Wed, 26 Apr 2006 00:39:04 -0400 + +zsh (4.3.2-7) unstable; urgency=low + + * More zsh-mime-handler fixes. + * Updated completion for surfraw from Micah Anderson. + closes: #364389. + + -- Clint Adams <schizo@debian.org> Sun, 23 Apr 2006 10:27:27 -0400 + +zsh (4.3.2-6) unstable; urgency=medium + + * Add completion for analyseplugin (ladspa) from R.Ramkumar. + closes: #356676. + * Patch from R.Ramkumar to fix "zsh-mime-handler used even in + the case of executable files". closes: #339635. + * Patch from R.Ramkumar to enable use of IP addresses and + multiple host files in _hosts closes: #359992. + + -- Clint Adams <schizo@debian.org> Fri, 31 Mar 2006 09:09:31 -0500 + +zsh (4.3.2-5) unstable; urgency=low + + * Strip zsh4-static binary again; this broke in the zsh-dbg + transition. closes: #360034. + * Version the build-dep on texi2html to >=1.76-3. closes: #344983. + + -- Clint Adams <schizo@debian.org> Thu, 30 Mar 2006 09:22:44 -0500 + +zsh (4.3.2-4) unstable; urgency=low + + * Add zsh-dev and zsh-dbg packages. + * Fix the acroread completion bug introduced by the + incorrect fix for #355430. + + -- Clint Adams <schizo@debian.org> Sat, 25 Mar 2006 22:22:01 -0500 + +zsh (4.3.2-3) unstable; urgency=high + + * Fix vi fix for #357313. closes: #357934. + * Fix bug in acroread completion leading to screen spew. + closes: #355430. + + -- Clint Adams <schizo@debian.org> Sat, 25 Mar 2006 12:05:42 -0500 + +zsh (4.3.2-2) unstable; urgency=medium + + * Add completion for nautilus. + * Add 'nice' and 'rt_priority' to limits. + * Handle multibyte-character-containing words better + with vi keybindings. closes: #357313. + + -- Clint Adams <schizo@debian.org> Fri, 17 Mar 2006 18:50:27 -0500 + +zsh (4.3.2-1) unstable; urgency=low + + * New upstream release. + + -- Clint Adams <schizo@debian.org> Sun, 12 Mar 2006 12:40:09 -0500 + +zsh (4.3.1-1) unstable; urgency=low + + * New upstream release. + * Apply patch from Micah Anderson which updates surfraw + completion to know about the debsec elvi. closes: #354741. + + -- Clint Adams <schizo@debian.org> Tue, 28 Feb 2006 13:40:37 -0500 + +zsh (4.3.0-dev-5-2) unstable; urgency=low + + * Add completion for schroot. + + -- Clint Adams <schizo@debian.org> Sun, 26 Feb 2006 14:36:08 -0500 + +zsh (4.3.0-dev-5-1) unstable; urgency=low + + * New upstream development release. + + -- Clint Adams <schizo@debian.org> Mon, 20 Feb 2006 11:35:39 -0500 + +zsh (4.3.0-dev-4-3) unstable; urgency=low + + * For zsh-static, don't link against anything that requires NSS. + + -- Clint Adams <schizo@debian.org> Sun, 19 Feb 2006 14:46:32 -0500 + +zsh (4.3.0-dev-4-2) unstable; urgency=low + + * Timestamp voodoo. closes: #353188. + + -- Clint Adams <schizo@debian.org> Sat, 18 Feb 2006 17:16:14 -0500 + +zsh (4.3.0-dev-4-1) unstable; urgency=medium + + * New upstream development release. + + -- Clint Adams <schizo@debian.org> Thu, 16 Feb 2006 11:05:13 -0500 + +zsh (4.3.0-dev-3-3) unstable; urgency=low + + * Update quilt completion, thanks to Adeodato Simó. + * Use a better method of not choking on invalid UTF-8 during + completion. + + -- Clint Adams <schizo@debian.org> Sat, 11 Feb 2006 17:42:00 -0500 + +zsh (4.3.0-dev-3-2) unstable; urgency=low + + * Readd completion for ping, which had gone missing. + closes: #351661. + * Use -C arguments to make for completion. Patch from + R.Ramkumar. closes: #340065. + + -- Clint Adams <schizo@debian.org> Thu, 9 Feb 2006 09:40:08 -0500 + +zsh (4.3.0-dev-3-1) unstable; urgency=low + + * New upstream development release. + + -- Clint Adams <schizo@debian.org> Mon, 6 Feb 2006 20:13:06 -0500 + +zsh (4.3.0-dev-2-4) unstable; urgency=low + + * Adjust non-choking of invalid UTF-8 during completion. + + -- Clint Adams <schizo@debian.org> Wed, 18 Jan 2006 16:26:37 -0500 + +zsh (4.3.0-dev-2-3) unstable; urgency=medium + + * Fix bad references in man pages. closes: #348627. + * Fix comments in /etc/zsh/* . closes: #348368. + + -- Clint Adams <schizo@debian.org> Tue, 17 Jan 2006 22:39:04 -0500 + +zsh (4.3.0-dev-2-2) unstable; urgency=low + + * Fix completion for last. closes: #345583. + * Don't choke on invalid UTF-8 during completion. + + -- Clint Adams <schizo@debian.org> Thu, 12 Jan 2006 20:03:25 -0500 + +zsh (4.3.0-dev-2-1) unstable; urgency=low + + * New upstream development release. + - Better UTF-8 support. closes: #139771, #269719. + * Remove /etc/skel/.zshrc so newuser magic can work. + + -- Clint Adams <schizo@debian.org> Tue, 27 Dec 2005 18:07:14 -0500 + +zsh (4.2.6-2) unstable; urgency=medium + + * Update ssh completion. closes: #344708. + * Add surfraw completion. closes: #342162. + + -- Clint Adams <schizo@debian.org> Sat, 24 Dec 2005 20:07:29 -0500 + +zsh (4.2.6-1) unstable; urgency=low + + * New upstream version. + + -- Clint Adams <schizo@debian.org> Mon, 5 Dec 2005 11:16:25 -0500 + +zsh (4.2.5-24) unstable; urgency=low + + * Add completion for dchroot. + * Fixes/improvements for baz, bzr, date, ssh, subversion, gv. + + -- Clint Adams <schizo@debian.org> Fri, 25 Nov 2005 10:30:49 -0500 + +zsh (4.2.5-23) unstable; urgency=low + + * Fix typo in dput completion. + * Add completions for cplay(1), dpkg-cross(1), tpkg-debarch(1L), + tpkg-install(1L), tpkg-install-libc(1L), tpkg-make(1L), + tpkg-update(1L). + + -- Clint Adams <schizo@debian.org> Mon, 7 Nov 2005 13:54:01 -0500 + +zsh (4.2.5-22) unstable; urgency=medium + + * ZW#21872: clear job table properly in subshells. + * Patch from R.Ramkumar to use ZDOTDIR for zcalc history file. + closes: #336547. + * Patch from R.Ramkumar to enhance zsh-mime-handler. + closes: #335190. + * Add notes to ssh host completion examples about needing + to set HashKnownHosts to "no". + + -- Clint Adams <schizo@debian.org> Mon, 31 Oct 2005 14:37:58 -0500 + +zsh (4.2.5-21) unstable; urgency=low + + * Update xmllint options completion. closes: #335014. + * Drop dependency on passwd. closes; #334085. + + -- Clint Adams <schizo@debian.org> Fri, 21 Oct 2005 10:46:17 -0400 + +zsh (4.2.5-20) unstable; urgency=medium + + * Swedish debconf po translation from Daniel Nylander. + closes: #330620. + * Fix iconv(1) completion with glibc 2.3.5. + * Add completion for piuparts(1). + * Add completion for dlocate(1). + * Add completion for quilt(1). + + -- Clint Adams <schizo@debian.org> Thu, 29 Sep 2005 10:54:53 -0400 + +zsh (4.2.5-19) unstable; urgency=high + + * Have man(1) completion better handle uncompressed man pages + whose filenames contain multiple digits separated by periods. + closes: #311020. + * Add completion for bzr(1). + * ZW#21678: fix crash when unsetting tied parameters. + * ZW#21701: fix handling of negative offsets that indexed before + the statr of a scalar. + + -- Clint Adams <schizo@debian.org> Thu, 8 Sep 2005 13:38:02 -0400 + +zsh (4.2.5-18) unstable; urgency=medium + + * Fix baz tree-version completion. closes: #325898. + * Fix baz tree-id completion. closes: #325900. + * Add completion for date(1). + + -- Clint Adams <schizo@debian.org> Wed, 7 Sep 2005 13:23:06 -0400 + +zsh (4.2.5-17) unstable; urgency=high + + * Add in urxvt completion from CVS HEAD. + + -- Clint Adams <schizo@debian.org> Thu, 25 Aug 2005 15:48:31 -0400 + +zsh (4.2.5-16) unstable; urgency=medium + + * Fix svn completion a little. closes: #323617, #323628. + * Fix accidental clobbering of the /usr/bin/zsh alternative + symlink. + * Add zsh(1) - zsh4(1) symlink. closes: #205893. + + -- Clint Adams <schizo@debian.org> Tue, 23 Aug 2005 14:54:27 -0400 + +zsh (4.2.5-15) unstable; urgency=low + + * Vietnamese debconf po translation from Clytie Siddall. + closes: #324286. + + -- Clint Adams <schizo@debian.org> Sun, 21 Aug 2005 17:44:38 -0400 + +zsh (4.2.5-14) unstable; urgency=medium + + * ZW#21577: window resizing prompt update fix. closes: #323137. + + -- Clint Adams <schizo@debian.org> Mon, 15 Aug 2005 14:15:26 -0400 + +zsh (4.2.5-13) unstable; urgency=low + + * Update svn completion again, since it was broken. closes: #322573. + + -- Clint Adams <schizo@debian.org> Thu, 11 Aug 2005 15:48:43 -0400 + +zsh (4.2.5-12) unstable; urgency=medium + + * ZW#21567: window-resizing multi-line prompt fix. + * Change dependency from 'debconf' to 'debconf-2.0'. + * Update svn completion from 4.3. + + -- Clint Adams <schizo@debian.org> Mon, 8 Aug 2005 21:10:37 -0400 + +zsh (4.2.5-11) unstable; urgency=low + + * Merge more fixes from 4.2 branch. + + -- Clint Adams <schizo@debian.org> Fri, 5 Aug 2005 18:58:29 -0400 + +zsh (4.2.5-10) unstable; urgency=medium + + * Handle an equals sign after --keyring in gpg completion. + * Do completion for xscreensaver-command. + * Do completion for madison. + * Tweak build system since texi2html behavior has changed + incompatibly. + + -- Clint Adams <schizo@debian.org> Sun, 10 Jul 2005 08:06:17 -0400 + +zsh (4.2.5-9) unstable; urgency=medium + + * ZW#21235, ZW#:21236: fix remote filename quoting in ssh completion. + closes: #307341. + + -- Clint Adams <schizo@debian.org> Sat, 9 Jul 2005 13:09:02 -0400 + +zsh (4.2.5-8) unstable; urgency=low + + * Merge more fixes from 4.2 branch. + * Bump to Standards-Version 3.6.2. + * Move menu file to /usr/share/menu. + + -- Clint Adams <schizo@debian.org> Sun, 26 Jun 2005 19:33:17 -0400 + +zsh (4.2.5-7) unstable; urgency=high + + * ZW#21195: fix handling of zero-length quoted test strings, + broken in 4.2.5-5. closes: #306346. + + -- Clint Adams <schizo@debian.org> Tue, 26 Apr 2005 18:12:49 -0400 + +zsh (4.2.5-6) unstable; urgency=low + + * ZU#8752, ZW#21184: fix IFS stripping metachar insensitivity. + * Improve dpkg-reconfigure completion. + + -- Clint Adams <schizo@debian.org> Mon, 25 Apr 2005 21:40:29 -0400 + +zsh (4.2.5-5) unstable; urgency=medium + + * ZW#21170: reduce inefficiencies in ${...//.../...}. + + -- Clint Adams <schizo@debian.org> Sun, 24 Apr 2005 10:40:01 -0400 + +zsh (4.2.5-4) unstable; urgency=medium + + * Fix baz completion breakage introduced by fix for #302354. + * Improve tla and baz completion to deal better with inconsistent + help output. + * Add completion for module-assistant. + + -- Clint Adams <schizo@debian.org> Sun, 17 Apr 2005 16:26:45 -0400 + +zsh (4.2.5-3) unstable; urgency=high + + * Fix no-ops in preinst and postinst. + * Fix screen -x completion. + + -- Clint Adams <schizo@debian.org> Tue, 12 Apr 2005 18:36:07 -0400 + +zsh (4.2.5-2) unstable; urgency=medium + + * Provide better completion for xpdf and zxpdf. closes: #304198. + * Install /bin/ksh alternative, and conflict with versions of + pdksh older than 5.2.14-18. + + -- Clint Adams <schizo@debian.org> Mon, 11 Apr 2005 14:17:40 -0400 + +zsh (4.2.5-1) unstable; urgency=low + + * New upstream release. + + -- Clint Adams <schizo@debian.org> Wed, 6 Apr 2005 09:26:17 -0400 + +zsh (4.2.4-9) unstable; urgency=medium + + * Merge fixes from 4.2 branch. + * Update gv completion to use gv 3.6 syntax (double-hyphen). + closes: #303278. + + -- Clint Adams <schizo@debian.org> Tue, 5 Apr 2005 15:07:03 -0400 + +zsh (4.2.4-8) unstable; urgency=medium + + * Update aptitude completion with patch from Zack Cerza. + closes: #302225. + * Update baz completion to work with baz 1.3. closes: #302354. + * Better completion for svn revert. closes: #299950. + + -- Clint Adams <schizo@debian.org> Thu, 31 Mar 2005 08:46:08 -0500 + +zsh (4.2.4-7) unstable; urgency=medium + + * Merge fixes from 4.2 branch. + - Fixes a completion segfault involving Meta chars. + closes: #301538. + * Drop the debconf note about the startup files having + having been moved in 4.0.4-50, and just move them + without asking. closes: #157871. + + -- Clint Adams <schizo@debian.org> Sat, 26 Mar 2005 13:20:01 -0500 + +zsh (4.2.4-6) unstable; urgency=medium + + * Fix module linking patch. + * Fix subversion completion in non-English locales. + closes: #291683. + + -- Clint Adams <schizo@debian.org> Tue, 15 Mar 2005 18:58:51 -0500 + +zsh (4.2.4-5) unstable; urgency=medium + + * Brazilian Portuguese debconf po translation from Andre Luis + Lopes. closes: #269970. + * Fix 'baz status' and 'baz diff' completion. + + -- Clint Adams <schizo@debian.org> Thu, 10 Mar 2005 21:21:19 -0500 + +zsh (4.2.4-4) unstable; urgency=medium + + * Fix 'baz merge' completion. + * Bind <Insert> key to toggle overwrite mode in emacs and vi + command-mode bindings. closes: #295506. + + -- Clint Adams <schizo@debian.org> Tue, 8 Mar 2005 21:06:03 -0500 + +zsh (4.2.4-3) unstable; urgency=medium + + * ZW#20837: fix some documentation typos. + * Completion updates for rsync 2.6.4. + * ZW#20816, ZW#20811: rlimit tricks for bleeding-edge glibc. + * Fix for yodl completion. + * ZW#20801: Kris Shannon's fix for initscript completion. + * Fix to prevent some make completion recursion problems. + closes: #295511. + + -- Clint Adams <schizo@debian.org> Wed, 2 Mar 2005 14:31:56 -0500 + +zsh (4.2.4-2) unstable; urgency=medium + + * ZW#20793: fix function-style traps. closes: #293364. + * ZW#20773: getconf completion improvements. + + -- Clint Adams <schizo@debian.org> Sun, 6 Feb 2005 19:07:41 -0500 + +zsh (4.2.4-1) unstable; urgency=low + + * New upstream release. + + -- Clint Adams <schizo@debian.org> Thu, 3 Feb 2005 10:31:46 -0500 + +zsh (4.2.3-1) unstable; urgency=low + + * New upstream release. + + -- Clint Adams <schizo@debian.org> Thu, 13 Jan 2005 14:26:03 -0500 + +zsh (4.2.2-1) unstable; urgency=low + + * New upstream release. + + -- Clint Adams <schizo@debian.org> Wed, 12 Jan 2005 09:23:42 -0500 + +zsh (4.2.1-18) unstable; urgency=medium + + * ZW#20409: add completion for darcs. closes: #289630. + * Improve completion for ggv, and complete the same for gnome-gv. + closes: #289664. + * Partially respect LC_COLLATE setting when sorting completions. + closes: #289442. + + -- Clint Adams <schizo@debian.org> Mon, 10 Jan 2005 12:08:18 -0500 + +zsh (4.2.1-17) unstable; urgency=medium + + * ZW#20418: report parse error rather than crash on unfinished + pipelines. closes: #289305. + + -- Clint Adams <schizo@debian.org> Sat, 8 Jan 2005 15:17:33 -0500 + +zsh (4.2.1-16) unstable; urgency=medium + + * Add completion for cal, ncal, and mencal. + + -- Clint Adams <schizo@debian.org> Sat, 8 Jan 2005 00:12:00 -0500 + +zsh (4.2.1-15) unstable; urgency=medium + + * Add completion for lintian. + * Improve completion for bogoutil, add completion for bogofilter and + bogotune. + * Add an /etc/skel/.zshrc that enables the new completion system by + default. + + -- Clint Adams <schizo@debian.org> Mon, 27 Dec 2004 12:09:04 -0500 + +zsh (4.2.1-14) unstable; urgency=low + + * Add completion for baz from Matt Zimmerman. closes: #285745. + + -- Clint Adams <schizo@debian.org> Wed, 15 Dec 2004 12:30:03 -0500 + +zsh (4.2.1-13) unstable; urgency=medium + + * ZW#20592, ZW#20599: Fix $((##)) breakage on alpha. + closes: #283358. + + -- Clint Adams <schizo@debian.org> Fri, 3 Dec 2004 10:33:38 -0500 + +zsh (4.2.1-12) unstable; urgency=medium + + * ZW#20578: handle /dev/pts/%s ttys in elite2 prompt theme. + closes: #266785. + * Complete GSSAPIAuthentication and other "modern" ssh options. + + -- Clint Adams <schizo@debian.org> Wed, 24 Nov 2004 00:06:41 -0500 + +zsh (4.2.1-11) unstable; urgency=medium + + * Fix typo in bogoutil completion, thanks to Michał Politowski. closes: + #281790. + * Complete pdf files for kpdf. closes: #281829. + + -- Clint Adams <schizo@debian.org> Thu, 18 Nov 2004 10:13:36 -0500 + +zsh (4.2.1-10) unstable; urgency=medium + + * ZW#20539: don't produce "bad option" warning on some Makefiles. + closes: #279417. + + -- Clint Adams <schizo@debian.org> Wed, 3 Nov 2004 09:43:47 -0500 + +zsh (4.2.1-9) unstable; urgency=high + + * ZW#20528: allow exec fd>>(list) to work again. + + -- Clint Adams <schizo@debian.org> Fri, 29 Oct 2004 09:49:49 -0400 + +zsh (4.2.1-8) unstable; urgency=medium + + * Really fix make completion this time. closes: #278487. + * Fix prerm to actually remove compiled functions. + closes: #278576. + + -- Clint Adams <schizo@debian.org> Wed, 27 Oct 2004 23:29:37 -0400 + +zsh (4.2.1-7) unstable; urgency=medium + + * ZW#20277 (modified): even better, less broken improved make + completion. closes: #278487. + + -- Clint Adams <schizo@debian.org> Wed, 27 Oct 2004 09:43:18 -0400 + +zsh (4.2.1-6) unstable; urgency=medium + + * ZW#20325: fix segfault with 'command -v'. closes: #276409. + + -- Clint Adams <schizo@debian.org> Wed, 13 Oct 2004 22:13:26 -0400 + +zsh (4.2.1-5) unstable; urgency=medium + + * ZW#20391: Fix "SHLVL not being incremented beyond 2" bug. + closes: #274964. + + -- Clint Adams <schizo@debian.org> Mon, 4 Oct 2004 22:46:12 -0400 + +zsh (4.2.1-4) unstable; urgency=medium + + * ZW#20269, ZW#20270: Improved make completion. closes: #262247. + * ZW#20414: fix completion of diff --unified, thanks to Paul + Wagland. closes: #273888. + * Update of _make from HEAD including ZW#20358. closes: #271196. + * Modify build system to allow zsh/pcre and zsh/cap modules to + have "independent" library dependencies. Build-dep on pcre, + and relegate module dependencies to Recommends. + * Fix "cidnex" doc typo. closes: #274188. + + -- Clint Adams <schizo@debian.org> Thu, 30 Sep 2004 11:42:14 -0400 + +zsh (4.2.1-3) unstable; urgency=high + + * Fix findstring arguments order for DEB_BUILD_OPTIONS debug check. + closes: #266065. + + -- Clint Adams <schizo@debian.org> Sun, 29 Aug 2004 23:42:12 -0400 + +zsh (4.2.1-2) unstable; urgency=medium + + * Explicitly specify --with-tcsetpgrp to avoid FTBFS when not under + a controlling tty. closes: #265862. + + -- Clint Adams <schizo@debian.org> Sun, 15 Aug 2004 09:16:01 -0400 + +zsh (4.2.1-1) unstable; urgency=low + + * New upstream release. + + -- Clint Adams <schizo@debian.org> Fri, 13 Aug 2004 15:05:12 -0400 + +zsh (4.2.0-18) unstable; urgency=medium + + * ZW#20235: fix remote rsync file completion space quoting. + closes: #261775. + * ZW#20196: fix prompt misbehavior LINES=2. closes: #134474. + + -- Clint Adams <schizo@debian.org> Sun, 8 Aug 2004 00:34:33 -0400 + +zsh (4.2.0-17) unstable; urgency=medium + + * ZW#20230: complete already-installed packages more often for + apt-get install. closes: #262157. + * ZW#20225: add Philippe Troin's expanded explanation of clone + command. closes: #205685. + + -- Clint Adams <schizo@debian.org> Mon, 2 Aug 2004 13:51:11 -0400 + +zsh (4.2.0-16) unstable; urgency=medium + + * ZW#20201: avoid double slash in prompt expansion of '%~%1(C./.) '. + closes: #201685. + * Czech debconf po translation from Miroslav Kure. closes: #261192. + + -- Clint Adams <schizo@debian.org> Wed, 28 Jul 2004 11:30:13 -0400 + +zsh (4.2.0-15) unstable; urgency=high + + * ZW#20173: fix memory allocation bug causing segfaults + in big glob expansions. closes: #251378, #259768. + + -- Clint Adams <schizo@debian.org> Sat, 17 Jul 2004 15:31:23 -0400 + +zsh (4.2.0-14) unstable; urgency=medium + + * ZW#20033: possibly fix ./configure completion with optional arguments. + * ZW#20059: prefer : to . in chown user:group completion. + * ZW#20069: complete encodings case-insensitively for iconv. + * ZW#20077: fix completion of reserved words with enable/disable. + * Add prebuild target to debian/rules, move yodl processing there, + and drop yodl build-dep. + + -- Clint Adams <schizo@debian.org> Sat, 19 Jun 2004 12:32:46 -0400 + +zsh (4.2.0-13) unstable; urgency=medium + + * Apply additions and fixes from Jason McCarty to tla completion. + * Update de.po from Helge Kreutzmann. closes: #254305. + + -- Clint Adams <schizo@debian.org> Tue, 15 Jun 2004 16:34:15 -0400 + +zsh (4.2.0-12) unstable; urgency=low + + * Add ca.po from Aleix Badia i Bosch. closes: #250115. + * Add debian/watch file. + + -- Clint Adams <schizo@debian.org> Wed, 9 Jun 2004 14:12:23 -0400 + +zsh (4.2.0-11) unstable; urgency=medium + + * Complete .htm files as well for lynx. closes: #251407. + + -- Clint Adams <schizo@debian.org> Fri, 28 May 2004 10:20:57 -0400 + +zsh (4.2.0-10) unstable; urgency=medium + + * ZW#19921: fix for ZW#19920. + * ZW#19877: fix for ZW#19869. + * ZW#19878: fix for ZW#19877. + * ZW#19893: fix the potential for an infinite loop in history locking. + + -- Clint Adams <schizo@debian.org> Wed, 12 May 2004 09:22:36 -0400 + +zsh (4.2.0-9) unstable; urgency=high + + * ZW#19920: fix memory allocation bug which causes builtin + (zsh/files module) rm -rf to OOM. closes: #245678. + + -- Clint Adams <schizo@debian.org> Tue, 11 May 2004 11:50:56 -0400 + +zsh (4.2.0-8) unstable; urgency=medium + + * ZW#19869: fix segfault in prompt expansion for locales + where am_pm is defined to null strings. closes: #245974. + + -- Clint Adams <schizo@debian.org> Tue, 4 May 2004 00:17:51 -0400 + +zsh (4.2.0-7) unstable; urgency=medium + + * ZW#19839: fix for _path_files. closes: #246898. + * ZW#19863: allow _command_names searchpath to be overriden with zstyle. + * Add zstyle with default Debian sudo path to global zshrc. + closes: #246305. + + -- Clint Adams <schizo@debian.org> Sun, 2 May 2004 17:20:15 -0400 + +zsh (4.2.0-6) unstable; urgency=high + + * Add apt-move completion function written by Steven Kowalik. + closes: #246306. + * ZW#19806: fix for segfault with %v expansion and negative index. + + -- Clint Adams <schizo@debian.org> Wed, 28 Apr 2004 10:12:28 -0400 + +zsh (4.2.0-5) unstable; urgency=low + + * Have mplayer complete .m2v and .m2p, thanks to Rene Larsen. + closes: #244211. + + -- Clint Adams <schizo@debian.org> Sun, 18 Apr 2004 18:12:44 -0400 + +zsh (4.2.0-4) unstable; urgency=medium + + * Use cdrecord completion from CVS HEAD. closes: #243460. + * Use subversion completion from CVS HEAD. + * Use rsync completion from CVS HEAD. closes: #243385. + + -- Clint Adams <schizo@debian.org> Thu, 15 Apr 2004 06:56:31 -0400 + +zsh (4.2.0-3) unstable; urgency=medium + + * Restore McCarty/Nielsen/Weir tla completion function. + + -- Clint Adams <schizo@debian.org> Wed, 14 Apr 2004 23:58:47 -0400 + +zsh (4.2.0-2) unstable; urgency=medium + + * Explicitly enable linking with libcap. + + -- Clint Adams <schizo@debian.org> Tue, 13 Apr 2004 20:46:59 -0400 + +zsh (4.2.0-1) unstable; urgency=low + + * Move to 4.2 branch because it's less buggy. + + -- Clint Adams <schizo@debian.org> Tue, 13 Apr 2004 17:00:41 -0400 + +zsh (4.1.1-15) unstable; urgency=low + + * Add da.po from Claus Hindsgaul. + + -- Clint Adams <schizo@debian.org> Wed, 7 Apr 2004 11:56:55 -0400 + +zsh (4.1.1-14) unstable; urgency=medium + + * Fix diff completion when there is more than one --exclude on the + line. closes: #239975. + + -- Clint Adams <schizo@debian.org> Thu, 25 Mar 2004 11:59:21 -0500 + +zsh (4.1.1-13) unstable; urgency=medium + + * Add es.po from Javi Castelo. closes: #238025. + * Complete cvs tags containing plus signs; patch from + Peter Palfrader. closes: #238843. + + -- Clint Adams <schizo@debian.org> Mon, 22 Mar 2004 18:45:37 -0500 + +zsh (4.1.1-12) unstable; urgency=medium + + * Merge fix from 4.2 branch for "bart" prompt theme. + * Merge fix from 4.2 branch for scp completion. closes: #239070. + + -- Clint Adams <schizo@debian.org> Mon, 22 Mar 2004 11:31:00 -0500 + +zsh (4.1.1-11) unstable; urgency=medium + + * Remove unaliasing of run-help in /etc/zsh/zshrc. closes: #229835. + * Use tla completion function from Jason McCarty, Erik Toubro Nielsen, + and Rob Weir. closes: #237853. + + -- Clint Adams <schizo@debian.org> Sat, 13 Mar 2004 15:30:02 -0500 + +zsh (4.1.1-10) unstable; urgency=medium + + * Add very limited tla completion. + * Merge url-quote-magic from 4.2 branch. closes: #237527. + * Throw in quote-and-complete-word for good measure. + + -- Clint Adams <schizo@debian.org> Thu, 11 Mar 2004 10:51:44 -0500 + +zsh (4.1.1-9) unstable; urgency=medium + + * ZW#19566: fix associative array documentation reference, + thanks to Frederik Eaton. + + -- Clint Adams <schizo@debian.org> Mon, 8 Mar 2004 12:07:24 -0500 + +zsh (4.1.1-8) unstable; urgency=medium + + * Merge adam2 prompt fixes from 4.2 branch. + * Merge smit completion changes from 4.2 branch. + * Merge cvs completion changes from 4.2 branch. + * Merge global completion changes from 4.2 branch. + * Merge look completion changes from 4.2 branch. + * Merge mount completion changes from 4.2 branch. + * Merge mysql/mysqlshow/mysqldump/mysqladmin completion + changes from 4.2 branch. + * Merge diff completion changes from 4.2 branch. + * Merge groups completion changes from 4.2 branch. + * Merge hosts completion changes from 4.2 branch. + * Merge services completion changes from 4.2 branch. + * Merge urls completion changes from 4.2 branch. + * Merge X utilities completion changes from 4.2 branch. + * Merge xv completion changes from 4.2 branch. + * Merge X color completion changes from 4.2 branch. + * Merge cd completion changes from 4.2 branch. + * Merge compdef completion changes from 4.2 branch. + * Merge mondo completion changes from 4.2 branch. + + -- Clint Adams <schizo@debian.org> Sat, 6 Mar 2004 15:48:05 -0500 + +zsh (4.1.1-7) unstable; urgency=medium + + * Rename zcalloc() function to zshcalloc(), since zlib sometimes + incorrectly exposes zcalloc(). + * Merge ssh completion changes from 4.2 branch. + * Merge w3m completion changes from 4.2 branch. + * Merge .tex file completion changes from 4.2 branch. + * Merge .texi file completion changes from 4.2 branch. + * Merge gqview completion changes from 4.2 branch. + * Merge mozilla/mozilla-firefox completion changes from 4.2 branch. + * Merge mplayer completion changes from 4.2 branch. + * Merge nedit completion changes from 4.2 branch. + * Merge xdvi completion changes from 4.2 branch. + * Merge xfig completion changes from 4.2 branch. + * Merge xloadimage completion changes from 4.2 branch. + * Merge autoload completion changes from 4.2 branch. + * Merge hash completion changes from 4.2 branch. + * Merge mere completion changes from 4.2 branch. + * Merge env/catchsegv completion changes from 4.2 branch. + * Merge unhash completion changes from 4.2 branch. + * Merge which completion changes from 4.2 branch. + * Merge rsync completion changes from 4.2 branch. + * Merge ruby completion changes from 4.2 branch. + * Merge slrn completion changes from 4.2 branch. + * ZW#19365: fix perl modules completion. + * Update config.guess and config.sub to 2003-10-03 and 2003-08-18, + respectively. + * ZW#19387, ZW#19309: fix glob qualifiers in many places. + * Merge rcs merge completion from 4.2 branch. + * Merge wiggle completion from 4.2 branch. + * Merge raggle completion from 4.2 branch. + * Merge rar completion changes from 4.2 branch. + * Merge printers completion changes from 4.2 branch. + * Merge acroread completion changes from 4.2 branch. + * Merge screen completion changes from 4.2 branch. + * Merge perforce completion changes from 4.2 branch. + * Merge pkgtool completion from 4.2 branch. + * Merge sablotron completion from 4.2 branch. + * ZW#19382: fix zmv error message + + -- Clint Adams <schizo@debian.org> Sat, 6 Mar 2004 11:53:19 -0500 + +zsh (4.1.1-6) unstable; urgency=medium + + * Merge auto-apt completion changes from 4.2 branch. + * Merge bug completion changes from 4.2 branch. + * Merge losetup completion changes from 4.2 branch. + * Merge arp completion changes from 4.2 branch. + * Merge gdb completion changes from 4.2 branch. + * Merge gprof completion changes from 4.2 branch. + * Merge java completion changes from 4.2 branch. + * Merge ls completion changes from 4.2 branch. + * Merge lynx completion changes from 4.2 branch. + * Merge lzop completion changes from 4.2 branch. + * Merge MH completion changes from 4.2 branch. + * Merge mt completion changes from 4.2 branch. + * Merge mysqldiff completion changes from 4.2 branch. + * Merge nice completion from 4.2 branch. + * Merge nmap completion from 4.2 branch. + * Merge pack completion changes from 4.2 branch. + * Merge pbm completion changes from 4.2 branch. + * Merge perl completion changes from 4.2 branch. + * Merge perldoc completion changes from 4.2 branch. + * Merge pine completion changes from 4.2 branch. + * Merge prcs completion changes from 4.2 branch. + * Merge printenv completion changes from 4.2 branch. + * Merge python completion changes from 4.2 branch. + * Merge sync completion from 4.2 branch. + * Merge sccs completion changes from 4.2 branch. + * Merge subversion completion from 4.2 branch. + * Merge telnet completion changes from 4.2 branch. + * Merge texinfo completion changes from 4.2 branch. + * Merge tiff completion changes from 4.2 branch. + * Merge uniq completion from 4.2 branch. + * Merge useradd/usermod/groupadd/groupmod completion changes + from 4.2 branch. + * Merge vorbis tools completion from 4.2 branch. + * Merge wget completion changes from 4.2 branch. + * Merge xsltproc/xmllint completion changes from 4.2 branch. + * Merge yodl completion changes from 4.2 branch. + * Merge zip completion changes from 4.2 branch. + * Fix du completion. + + -- Clint Adams <schizo@debian.org> Fri, 5 Mar 2004 23:37:31 -0500 + +zsh (4.1.1-5) unstable; urgency=medium + + * Merge iptables completion from 4.2 branch. + * Merge modutils completion changes from 4.2 branch. + * Merge uml completion changes from 4.2 branch. + * Merge a2ps completion changes from 4.2 branch. + * Merge ant completion changes from 4.2 branch. + * Merge antiword completion changes from 4.2 branch. + * Merge apachectl completion changes from 4.2 branch. + * Merge apm completion changes from 4.2 branch. + * Merge arping completion changes from 4.2 branch. + * Merge attr completion from 4.2 branch. + * Merge bison completion changes from 4.2 branch. + * Merge bzip2 completion changes from 4.2 branch. + * Merge cdrecord completion from 4.2 branch. + * Merge chmod completion from 4.2 branch. + * Merge chown completion changes from 4.2 branch. + * Merge compress completion changes from 4.2 branch. + * Merge du completion from 4.2 branch. + * Merge dvi completion changes from 4.2 branch. + * Merge ecasound completion changes from 4.2 branch. + * Merge elinks completion changes from 4.2 branch. + * Merge fakeroot completion changes from 4.2 branch. + * Merge figlet completion changes from 4.2 branch. + * Merge finger completion changes from 4.2 branch. + * Merge flex completion changes from 4.2 branch. + * Merge fsh completion changes from 4.2 branch. + * Merge gcc completion changes from 4.2 branch. + * Merge getent completion from 4.2 branch. + + -- Clint Adams <schizo@debian.org> Fri, 5 Mar 2004 19:13:14 -0500 + +zsh (4.1.1-4) unstable; urgency=low + + * Add mplayer ogg/wav completion from Chip Salzenberg. closes: #235719. + + -- Clint Adams <schizo@debian.org> Fri, 5 Mar 2004 15:05:11 -0500 + +zsh (4.1.1-3) unstable; urgency=medium + + * Merge gpg completion changes from 4.2 branch. closes: #236278. + * Merge grep completion changes from 4.2 branch. + * Merge gzip completion changes from 4.2 branch. + * Merge imagemagick completion changes from 4.2 branch. + * Merge irssi completion changes from 4.2 branch. + * Merge ispell completion changes from 4.2 branch. + * Merge links completion changes from 4.2 branch. + * Merge gphoto2 completion from 4.2 branch. + + -- Clint Adams <schizo@debian.org> Fri, 5 Mar 2004 12:12:26 -0500 + +zsh (4.1.1-2) unstable; urgency=medium + + * ZW#18824: kill-word-match deletes too much. closes: #236067. + * Re-apply Christian Marillat's bts completion patch. + * Merge aptitude completion from 4.2 branch. + * Merge debsign completion from 4.2 branch. + * Merge aap completion from 4.2 branch. + * Merge less completion from 4.2 branch. + * Merge sed completion from 4.2 branch. + * Merge apt completion changes from 4.2 branch. + * Merge debchange completion changes from 4.2 branch. + * Merge debfoster completion changes from 4.2 branch. + * Merge dpkg-reconfigure completion from 4.2 branch. + * Merge dpkg-source completion changes from 4.2 branch. + * Merge dupload completion changes from 4.2 branch. + * Merge dput completion changes from 4.2 branch. + * Merge update-alternatives completion changes from 4.2 branch. + * Merge update-rc.d completion from 4.2 branch. + * As a side effect, this should fix problems when upgrading from + 4.0.9. closes: #235733. + + -- Clint Adams <schizo@debian.org> Thu, 4 Mar 2004 19:35:44 -0500 + +zsh (4.1.1-1) unstable; urgency=low + + * Move to 4.1 branch now that 4.2 is in development. + This fixes + - support \u and \U in echo/print/$''; closes: #154901. + - cope better with unlinked wordcode digests; closes: #99687. + - Zsh should clean up its signals on startup; closes: #104001. + + -- Clint Adams <schizo@debian.org> Mon, 1 Mar 2004 10:43:24 -0500 + +zsh (4.0.9-2) unstable; urgency=medium + + * Include patch from Christian Marillat to update bts tag + completion. closes: #232851. + * Avoid unalias error in /etc/zsh/zshrc. closes: #229835. + + -- Clint Adams <schizo@debian.org> Thu, 19 Feb 2004 18:03:48 -0500 + +zsh (4.0.9-1) unstable; urgency=medium + + * Old upstream stable release. + * Include Oliver's aptitude and update-rc.d completion functions. + closes: #227940. + + -- Clint Adams <schizo@debian.org> Thu, 15 Jan 2004 13:43:37 -0500 + +zsh (4.0.8-1) unstable; urgency=low + + * New upstream stable release. + + -- Clint Adams <schizo@debian.org> Thu, 18 Dec 2003 10:02:19 -0500 + +zsh (4.0.7-19) unstable; urgency=low + + * Merge fixes from 4.0 branch. + - Fixes "tab completion hosed for loopback mounts". closes: #223291. + + -- Clint Adams <schizo@debian.org> Tue, 16 Dec 2003 20:46:33 -0500 + +zsh (4.0.7-18) unstable; urgency=medium + + * Prefer : to . in chown completion. + + -- Clint Adams <schizo@debian.org> Sat, 6 Dec 2003 20:04:46 -0500 + +zsh (4.0.7-17) unstable; urgency=medium + + * Merge fixes from 4.0 branch. + * Patch from Oliver to to fix svn diff completion. closes: #221943. + * Backport echoti fixes from 4.1 branch. closes: #222509. + * Backport apt completion fixes from 4.1 branch. + + -- Clint Adams <schizo@debian.org> Sat, 6 Dec 2003 12:35:36 -0500 + +zsh (4.0.7-16) unstable; urgency=medium + + * Remove rzsh alternative in prerm. closes: #220941. + + -- Clint Adams <schizo@debian.org> Sat, 15 Nov 2003 17:00:27 -0500 + +zsh (4.0.7-15) unstable; urgency=medium + + * Add missing parenthesis to zdump completion function. + closes: #220842. + + -- Clint Adams <schizo@debian.org> Sat, 15 Nov 2003 10:36:51 -0500 + +zsh (4.0.7-14) unstable; urgency=medium + + * Merge fixes from 4.0 branch. Thanks, Oliver. + + -- Clint Adams <schizo@debian.org> Fri, 14 Nov 2003 15:09:59 -0500 + +zsh (4.0.7-13) unstable; urgency=medium + + * Merge fixes from 4.0 branch. + * Apply Oliver's _subversion fixes. closes: #202185. + + -- Clint Adams <schizo@debian.org> Fri, 14 Nov 2003 10:01:46 -0500 + +zsh (4.0.7-12) unstable; urgency=medium + + * Apply patch from Yasuhiro Hayase to complete normal commands + after screen. closes: #213530. + + -- Clint Adams <schizo@debian.org> Sat, 25 Oct 2003 10:18:03 -0400 + +zsh (4.0.7-11) unstable; urgency=low + + * Add nl.po from Luk Claes. closes: #213880. + * Add ru.po from Ilgiz Kalmetev. closes: #214376. + * Add pt.po from Bruno Rodrigues. closes: #216199. + + -- Clint Adams <schizo@debian.org> Wed, 22 Oct 2003 00:07:27 -0400 + +zsh (4.0.7-10) unstable; urgency=high + + * Fix zsh/terminfo module to not exit shell on unknown + TERM type. closes: #207219. + + -- Clint Adams <schizo@debian.org> Sun, 14 Sep 2003 01:10:18 -0400 + +zsh (4.0.7-9) unstable; urgency=medium + + * Merge in fixes from CVS. + * Add ja.po from Kenshi Muto <kmuto@debian.org>. + * Copy libnss_files.so.* to a temporary location and + chmod it 755 so ldd doesn't choke. + + -- Clint Adams <schizo@debian.org> Sat, 13 Sep 2003 11:13:18 -0400 + +zsh (4.0.7-8) unstable; urgency=medium + + * Correct passwd dependency to >= 1:4.0.3-10. + + -- Clint Adams <schizo@debian.org> Mon, 1 Sep 2003 16:20:08 -0400 + +zsh (4.0.7-7) unstable; urgency=medium + + * Bump to Standards-Version 3.6.1. + * Run dpkg-shlibdebs on /lib/libnss_files.so.* for zsh-static + to help avoid segfaults due to continually-changing glibc NSS ABI. + closes: #207218, #193325. + * Add dependency on passwd (>= 4.0.3-10), and use add-shell and + remove-shell to manage /etc/shells. closes: #143366. + * Apply patch from Christian Perrier to fix up po-debconf stuff. + closes: #207298. + + -- Clint Adams <schizo@debian.org> Mon, 1 Sep 2003 14:59:53 -0400 + +zsh (4.0.7-6) unstable; urgency=medium + + * Merge (Q) extra space fix from 4.0 branch. + * Completion for sabcmd from Oliver. closes: #202326. + + -- Clint Adams <schizo@debian.org> Fri, 25 Jul 2003 22:50:53 -0400 + +zsh (4.0.7-5) unstable; urgency=low + + * Don't build-dep on libcap-dev on GNU/FreeBSD. closes: #200546. + * Merge additional fixes from 4.0 branch. + * Update config.{guess,sub}. + + -- Clint Adams <schizo@debian.org> Sun, 13 Jul 2003 15:40:02 -0400 + +zsh (4.0.7-4) unstable; urgency=medium + + * Fix from Oliver to make subversion completion suck less. closes: #199638. + * New completion function for debsign from Matt Zimmerman. closes: #200257. + + -- Clint Adams <schizo@debian.org> Sun, 6 Jul 2003 16:47:16 -0400 + +zsh (4.0.7-3) unstable; urgency=low + + * Bump Standards-Version to 3.5.10 + * Apply patch from Michel Grentzinger to use new gettext format + for debconf templates. closes: #198268. + * Use fr.po from Michel Grentzinger for debconf templates. + closes: #198860. + * Now merge debconf templates at build time. + + -- Clint Adams <schizo@debian.org> Sun, 29 Jun 2003 11:55:31 -0400 + +zsh (4.0.7-2) unstable; urgency=medium + + * mogrify -shave and -resize completion. closes: #197544. + * Update completion of reportbug and querybts to modern usage. + (see #198468). + * Rudimentary completion for svn and svnadmin. closes: #198409. + + -- Clint Adams <schizo@debian.org> Tue, 24 Jun 2003 23:01:22 -0400 + +zsh (4.0.7-1) unstable; urgency=low + + * New upstream stable release. + + -- Clint Adams <schizo@debian.org> Thu, 19 Jun 2003 23:58:21 -0400 + +zsh (4.0.6-32) unstable; urgency=medium + + * Merge in more fixes from 4.0 branch. + + -- Clint Adams <schizo@debian.org> Tue, 13 May 2003 15:40:00 -0400 + +zsh (4.0.6-31) unstable; urgency=medium + + * Apply Oliver's patches to fix floating point l10n problems. + closes: #164686. + * Apply Peter's patch to fix null array vared segfault. closes: #187259. + + -- Clint Adams <schizo@debian.org> Tue, 13 May 2003 09:37:26 -0400 + +zsh (4.0.6-30) unstable; urgency=medium + + * Patch echoti so that it supports args. + + -- Clint Adams <schizo@debian.org> Tue, 25 Mar 2003 00:35:48 -0500 + +zsh (4.0.6-29) unstable; urgency=low + + * Merge in more fixes from 4.0 branch. + + -- Clint Adams <schizo@debian.org> Sat, 22 Mar 2003 01:38:47 -0500 + +zsh (4.0.6-28) unstable; urgency=low + + * Apply Phil Troin's setpgid and suspend-exec-fix patches. closes: #183902. + + -- Clint Adams <schizo@debian.org> Sun, 9 Mar 2003 23:45:04 -0500 + +zsh (4.0.6-27) unstable; urgency=low + + * Revert experiments, and fix several configure test evaluations, + none of which should be relevant to Debian. + + -- Clint Adams <schizo@debian.org> Wed, 26 Feb 2003 13:00:03 -0500 + +zsh (4.0.6-26) unstable; urgency=low + + * Re-apply Oliver's tar completion patch. closes: #182416. + * Experiment a little with configure tests to get more information + on why sbuild hangs for me on sparc. + + -- Clint Adams <schizo@debian.org> Tue, 25 Feb 2003 12:04:16 -0500 + +zsh (4.0.6-25) unstable; urgency=low + + * Merge more fixes from CVS. + + -- Clint Adams <schizo@debian.org> Mon, 24 Feb 2003 21:18:50 -0500 + +zsh (4.0.6-24) unstable; urgency=low + + * Generate md5sums for zsh-doc. closes: #182252. + + -- Clint Adams <schizo@debian.org> Sun, 23 Feb 2003 22:46:53 -0500 + +zsh (4.0.6-23) unstable; urgency=low + + * Fix rss in ulimit output. closes: #180306. + + -- Clint Adams <schizo@debian.org> Tue, 11 Feb 2003 12:39:49 -0500 + +zsh (4.0.6-22) unstable; urgency=low + + * Add maxfilelocks to ulimit output. + + -- Clint Adams <schizo@debian.org> Sat, 8 Feb 2003 20:07:55 -0500 + +zsh (4.0.6-21) unstable; urgency=low + + * Another CVS sync, pulling in completion for elinks and tidy, and + bashcompinit. + + -- Clint Adams <schizo@debian.org> Thu, 6 Feb 2003 11:24:07 -0500 + +zsh (4.0.6-20) unstable; urgency=low + + * Add rzsh alternative. closes: #178252. + * Update to Standards-Version 3.5.8. + * Remove periods from short descriptions. + + -- Clint Adams <schizo@debian.org> Fri, 24 Jan 2003 22:27:20 -0500 + +zsh (4.0.6-19) unstable; urgency=low + + * Completion for lsof, mt, xsltproc, and other fixes. + + -- Clint Adams <schizo@debian.org> Sun, 19 Jan 2003 12:45:45 -0500 + +zsh (4.0.6-18) unstable; urgency=low + + * Fold debian/rules check target into build target to avoid fakeroot. + * Merge lots of fixes completion improvements from 4.0 branch. + * Don't install zsh-${version} hardlink anymore. + + -- Clint Adams <schizo@debian.org> Tue, 26 Nov 2002 03:55:25 -0500 + +zsh (4.0.6-17) unstable; urgency=low + + * Patch for tar completion from Oliver Kiddle. closes: #170654. + + -- Clint Adams <schizo@debian.org> Tue, 26 Nov 2002 00:58:15 -0500 + +zsh (4.0.6-16) unstable; urgency=low + + * Beautify indentation in whence, which, &c. closes: #163190. + + -- Clint Adams <schizo@debian.org> Wed, 13 Nov 2002 16:11:45 -0500 + +zsh (4.0.6-15) unstable; urgency=low + + * Remove /usr/doc detritus from zsh-doc and zsh-static postinsts and + prerms. + + -- Clint Adams <schizo@debian.org> Sat, 26 Oct 2002 14:33:12 -0400 + +zsh (4.0.6-14) unstable; urgency=low + + * Run make check in binary-arch target. + + -- Clint Adams <schizo@debian.org> Sat, 26 Oct 2002 02:23:09 -0400 + +zsh (4.0.6-13) unstable; urgency=medium + + * Apply Stephen Rueger's fix to the apt-cache showsrc patch in #129428. + closes: #165346. + * Replace xli completion with Oliver's fix. + + -- Clint Adams <schizo@debian.org> Fri, 18 Oct 2002 14:36:14 -0400 + +zsh (4.0.6-12) unstable; urgency=low + + * Remove extraneous 's' in compinit message. closes: #164788. + * Remove completion for xli since it doesn't match. closes: #164302. + + -- Clint Adams <schizo@debian.org> Tue, 15 Oct 2002 01:22:49 -0400 + +zsh (4.0.6-11) unstable; urgency=medium + + * Apply Martin Waitz's patch for memory leak in privasserted(). + closes: #164207. + + -- Clint Adams <schizo@debian.org> Thu, 10 Oct 2002 21:12:00 -0400 + +zsh (4.0.6-10) unstable; urgency=low + + * Merge in additional fixes from upstream 4.0 branch. + + -- Clint Adams <schizo@debian.org> Fri, 4 Oct 2002 20:59:04 -0400 + +zsh (4.0.6-9) unstable; urgency=low + + * Add missing apt-get options to completion. closes: #163247. + * Handle doogie's case foo in (foo)echo foo;;(bar)echo bar;;esac + (no space between right paren and LIST) when in sh emulation mode. + closes: #163237. + + -- Clint Adams <schizo@debian.org> Fri, 4 Oct 2002 17:14:57 -0400 + +zsh (4.0.6-8) unstable; urgency=medium + + * ZW#17252: fix unzip/_path_files interaction. Also fixes broken xli + completion. closes: bug#160836, bug#161065. + + -- Clint Adams <schizo@debian.org> Mon, 16 Sep 2002 12:20:10 -0400 + +zsh (4.0.6-7) unstable; urgency=low + + * Fix CVS completion with respect to filenames containing spaces. + Deja vu. closes: bug#160375. + + -- Clint Adams <schizo@debian.org> Tue, 10 Sep 2002 14:25:14 -0400 + +zsh (4.0.6-6) unstable; urgency=medium + + * Patch from Jürgen A. Erhard to fix ssh-keygen completion. + closes: bug#156404. + + -- Clint Adams <schizo@debian.org> Fri, 6 Sep 2002 02:27:36 -0400 + +zsh (4.0.6-5) unstable; urgency=medium + + * Fix CFLAGS for static build. + * Install more example functions. + + -- Clint Adams <schizo@debian.org> Wed, 4 Sep 2002 17:46:45 -0400 + +zsh (4.0.6-4) unstable; urgency=low + + * Add missing lynx options. closes: bug#158853. + * Add Oliver's lynx patch from 4.1. + * debian/rules cleanup + + -- Clint Adams <schizo@debian.org> Wed, 4 Sep 2002 15:14:31 -0400 + +zsh (4.0.6-3) unstable; urgency=low + + * Fix typo in the 'clint' prompt theme. + * Update to Standards-Version 3.5.7.0. + * Support 'noopt' + + -- Clint Adams <schizo@debian.org> Fri, 16 Aug 2002 21:39:04 -0400 + +zsh (4.0.6-2) unstable; urgency=low + + * Bandage the terminfo "fix" causing segfault on startup. + closes: bug#156840, bug#156842. + + -- Clint Adams <schizo@debian.org> Thu, 15 Aug 2002 17:47:52 -0400 + +zsh (4.0.6-1) unstable; urgency=low + + * New upstream release. + + -- Clint Adams <schizo@debian.org> Wed, 14 Aug 2002 13:33:34 -0400 + +zsh (4.0.5-1) unstable; urgency=low + + * New upstream release. + + -- Clint Adams <schizo@debian.org> Fri, 9 Aug 2002 15:28:23 -0400 + +zsh (4.0.4-53) unstable; urgency=low + + * Complete .xhtml files for lynx. closes: bug#155357. + + -- Clint Adams <schizo@debian.org> Tue, 6 Aug 2002 20:15:35 -0400 + +zsh (4.0.4-52) unstable; urgency=low + + * Complete local filenames after file:/// and file://localhost/ . + closes: bug#155360. + + -- Clint Adams <schizo@debian.org> Tue, 6 Aug 2002 17:24:15 -0400 + +zsh (4.0.4-51) unstable; urgency=medium + + * Fix cvs completion thinko from -45. + * Remove umask setting from global startup. closes: bug#154809. + + -- Clint Adams <schizo@debian.org> Tue, 30 Jul 2002 13:38:51 -0400 + +zsh (4.0.4-50) unstable; urgency=low + + * Move startup scripts to /etc/zsh/. closes: bug#154555. + * Don't add /usr/doc/zsh symlink anymore. + * Add debconf message about rc move, and dependency on debconf. + + -- Clint Adams <schizo@debian.org> Sun, 28 Jul 2002 17:30:27 -0400 + +zsh (4.0.4-49) unstable; urgency=low + + * Patch from Christian Marillat to complete more tags for bts(1). + closes: bug#154145. + * Fix documentation typo. closes: bug#154126. + + -- Clint Adams <schizo@debian.org> Wed, 24 Jul 2002 11:48:27 -0400 + +zsh (4.0.4-48) unstable; urgency=medium + + * Rearrange and improve examples. closes: bug#153939. + + -- Clint Adams <schizo@debian.org> Mon, 22 Jul 2002 21:48:33 -0400 + +zsh (4.0.4-47) unstable; urgency=low + + * Add completion for GNU GLOBAL, courtesy of Matt Zimmeran. + closes: bug#153919. + + -- Clint Adams <schizo@debian.org> Mon, 22 Jul 2002 17:32:58 -0400 + +zsh (4.0.4-46) unstable; urgency=medium + + * ZW#17459: Properly exclude files which have RCS kflags from cvs + add completion. closes: bug#152795. + + -- Clint Adams <schizo@debian.org> Mon, 22 Jul 2002 10:39:24 -0400 + +zsh (4.0.4-45) unstable; urgency=low + + * Refix #138688 and #147102, which accidentally slipped out. + closes: bug#152318. + + -- Clint Adams <schizo@debian.org> Mon, 8 Jul 2002 18:53:30 -0400 + +zsh (4.0.4-44) unstable; urgency=low + + * Complete files after dpkg -S for Joy. + + -- Clint Adams <schizo@debian.org> Mon, 1 Jul 2002 12:13:32 -0400 + +zsh (4.0.4-43) unstable; urgency=medium + + * Merge additional parsing fixes from 4.0 branch CVS. + * Also, replace Colin Walters's prompt theme, which had gone AWOL. + + -- Clint Adams <schizo@debian.org> Sat, 15 Jun 2002 13:30:42 -0400 + +zsh (4.0.4-42) unstable; urgency=low + + * Merge additional fixes and completion features from 4.0 branch CVS. + + -- Clint Adams <schizo@debian.org> Fri, 31 May 2002 22:39:37 -0400 + +zsh (4.0.4-41) unstable; urgency=low + + * Merge additional fixes from 4.0 branch CVS. + + -- Clint Adams <schizo@debian.org> Fri, 31 May 2002 16:33:22 -0400 + +zsh (4.0.4-40) unstable; urgency=low + + * Check output of manpath even when $manpath is set. closes: bug#148557. + * ZW#16269: Don't segfault when trying to complete ^ when GLOB_COMPLETE + and EXTENDED_GLOB are set. closes: bug#148607. + + -- Clint Adams <schizo@debian.org> Fri, 31 May 2002 01:00:52 -0400 + +zsh (4.0.4-39) unstable; urgency=low + + * ZW#16776: Don't segfault for certain repeated completions. + + -- Clint Adams <schizo@debian.org> Tue, 28 May 2002 21:20:15 -0400 + +zsh (4.0.4-38) unstable; urgency=low + + * Option descriptions in make-kpkg completion. + * Do not complete udebs for dpkg -i or --unpack. closes: bug#148372. + * Make helpfiles build again. closes: bug#148378. + + -- Clint Adams <schizo@debian.org> Tue, 28 May 2002 10:12:20 -0400 + +zsh (4.0.4-37) unstable; urgency=low + + * Don't choke when all the matching nonentried CVS files also match + ~/.cvsignore when user is trying to complete a cvs add. closes: + bug#148217. + + -- Clint Adams <schizo@debian.org> Sun, 26 May 2002 15:23:12 -0400 + +zsh (4.0.4-36) unstable; urgency=low + + * Respect $CVSIGNORE. closes: bug#147853. + * Complete files other than *.pl and *.pm for perl. closes: bug#148159. + + -- Clint Adams <schizo@debian.org> Sat, 25 May 2002 14:10:25 -0400 + +zsh (4.0.4-35) unstable; urgency=low + + * Fix CVS completion with respect to filenames containing spaces. + closes: bug#147102. + + -- Clint Adams <schizo@debian.org> Tue, 21 May 2002 10:28:54 -0400 + +zsh (4.0.4-34) unstable; urgency=medium + + * Fixed typo in _spamassassin. closes: bug#144915. + * Build modules on the Hurd after the ABI change. + + -- Clint Adams <schizo@debian.org> Mon, 29 Apr 2002 16:46:08 -0400 + +zsh (4.0.4-33) unstable; urgency=high + + * Avoid dangling alternative on upgrade from potato. closes: bug#144709. + + -- Clint Adams <schizo@debian.org> Sat, 27 Apr 2002 10:34:25 -0400 + +zsh (4.0.4-32) unstable; urgency=medium + + * Complete all files for w3m. closes: bug#143885. + + -- Clint Adams <schizo@debian.org> Thu, 25 Apr 2002 11:19:33 -0400 + +zsh (4.0.4-31) unstable; urgency=medium + + * ZW#16201 to fix Vincent Lefevre's named directory disappearance problem. + closes: bug#140726. + + -- Clint Adams <schizo@debian.org> Sat, 13 Apr 2002 15:29:42 -0400 + +zsh (4.0.4-30) unstable; urgency=medium + + * Bring /usr/bin/zsh under alternatives. closes: bug#140870. + + -- Clint Adams <schizo@debian.org> Fri, 12 Apr 2002 21:56:04 -0400 + +zsh (4.0.4-29) unstable; urgency=medium + + * Complete for aaaa, ns, mx, txt, zone. closes: bug#141870. + * Complete package name argument for apt-cache policy. closes: bug#141820. + + -- Clint Adams <schizo@debian.org> Fri, 12 Apr 2002 19:25:30 -0400 + +zsh (4.0.4-28) unstable; urgency=low + + * Patch from Hugo Haas to complete ssh -1 as well as ssh -2. + closes: bug#140408. + + -- Clint Adams <schizo@debian.org> Thu, 4 Apr 2002 07:50:12 -0500 + +zsh (4.0.4-27) unstable; urgency=medium + + * Fix rsync completion so that it completes remote files via + rsync and ssh, and all rsync 2.5.2 options. closes: bug#138690. + + -- Clint Adams <schizo@debian.org> Sun, 17 Mar 2002 14:04:03 -0500 + +zsh (4.0.4-26) unstable; urgency=low + + * Complete .dvi.gz and .dvi.bz2 for xdvi. closes: bug#138687. + * Complete multiple -j's after cvs update. closes: bug#138688. + + -- Clint Adams <schizo@debian.org> Sun, 17 Mar 2002 00:04:47 -0500 + +zsh (4.0.4-25) unstable; urgency=medium + + * Update issues in BUGS and TODO. + * Add Matt Zimmeran's netcat completion function. closes: bug#137563. + * Fix completion for nedit-nc. + + -- Clint Adams <schizo@debian.org> Sat, 9 Mar 2002 21:58:09 -0500 + +zsh (4.0.4-24) unstable; urgency=low + + * Move zsh binary to /bin so it can more safely be used as + /bin/sh or root's shell. + + -- Clint Adams <schizo@debian.org> Thu, 7 Mar 2002 20:08:22 -0500 + +zsh (4.0.4-23) unstable; urgency=low + + * Completion for irssi, thanks to Istvan Sebestyen. closes: bug#136682. + * ZW#16635: display lists in singlelinezle mode. + + -- Clint Adams <schizo@debian.org> Thu, 7 Mar 2002 08:45:34 -0500 + +zsh (4.0.4-22) unstable; urgency=low + + * Completion for cdcd, thanks to Gergely Nagy. closes: bug#133925. + * Allow "while do done" to be interrupted. closes: bug#107528. + + -- Clint Adams <schizo@debian.org> Wed, 20 Feb 2002 22:24:12 -0500 + +zsh (4.0.4-21) unstable; urgency=medium + + * Added Colin Walters's prompt. + * Tweaked my prompt. + * Improved scp completion of remote files, thanks to David Engel. + closes: bug#131358. + * Improved dict completion, thanks to Matt Zimmerman. closes: bug#132922. + + -- Clint Adams <schizo@debian.org> Sun, 10 Feb 2002 12:12:16 -0500 + +zsh (4.0.4-20) unstable; urgency=medium + + * Small fix to zip completion. + * Complete urls for konqueror, skipstone, light, dillo. + + -- Clint Adams <schizo@debian.org> Sun, 3 Feb 2002 16:31:45 -0500 + +zsh (4.0.4-19) unstable; urgency=medium + + * Complete short options and local files for rsync. closes: bug#131657. + + -- Clint Adams <schizo@debian.org> Sun, 3 Feb 2002 01:17:55 -0500 + +zsh (4.0.4-18) unstable; urgency=medium + + * Change permissions on modules to 644. closes: bug#131848. + + -- Clint Adams <schizo@debian.org> Fri, 1 Feb 2002 09:13:53 -0500 + +zsh (4.0.4-17) unstable; urgency=medium + + * ZW#16507: Fix ./ completion as was broken by the fix + for 129864. closes: bug#131468. + * Fix completion for initscripts. + + -- Clint Adams <schizo@debian.org> Tue, 29 Jan 2002 21:05:23 -0500 + +zsh (4.0.4-16) unstable; urgency=medium + + * Warn on fclose or fflush errors in bin_print. closes: bug#130817. + * ZW#16435: Fix core dump in `hash'. + * "Command" completion now respects $PATH. closes: bug#129864. + + -- Clint Adams <schizo@debian.org> Sun, 27 Jan 2002 18:10:49 -0500 + +zsh (4.0.4-15) unstable; urgency=low + + * Matt Zimmerman's patch: completion for apt-cache showsrc. + closes: bug#129428. + + -- Clint Adams <schizo@debian.org> Thu, 17 Jan 2002 09:31:40 -0500 + +zsh (4.0.4-14) unstable; urgency=medium + + * ZW#16408: Patch to make sure auto menu isn't started accidentally when + bashautolist is set. closes: bug#124033. + + -- Clint Adams <schizo@debian.org> Wed, 9 Jan 2002 08:48:01 -0500 + +zsh (4.0.4-13) unstable; urgency=medium + + * Fix manpage completion of the letter 'l'. closes: bug#125936. + * Do not depend on $fpath in the postinst and prerm. closes: bug#125601. + + -- Clint Adams <schizo@debian.org> Thu, 20 Dec 2001 13:51:45 -0500 + +zsh (4.0.4-12) unstable; urgency=high + + * Completion for make-kpkg. + + -- Clint Adams <schizo@debian.org> Sun, 16 Dec 2001 20:20:50 -0500 + +zsh (4.0.4-11) unstable; urgency=high + + * Modernize apt-cache completion. closes: bug#123996. + * Completion for mozilla. + + -- Clint Adams <schizo@debian.org> Sat, 15 Dec 2001 19:01:45 -0500 + +zsh (4.0.4-10) unstable; urgency=high + + * Fix annoying zsh/terminfo module segfault on IA-64. + closes: bug#123902. Thanks to James Troup for tracking + the problem down. + + -- Clint Adams <schizo@debian.org> Thu, 13 Dec 2001 23:26:36 -0500 + +zsh (4.0.4-9) unstable; urgency=high + + * Do not bind keys dynamically if TERM is equal to emacs + so that zsh will not choke when called from XEmacs. + closes: bug#123671. + + * Complete .udebs as well as .debs for dpkg. closes: bug#123390. + + -- Clint Adams <schizo@debian.org> Wed, 12 Dec 2001 20:00:19 -0500 + +zsh (4.0.4-8) unstable; urgency=high + + * Try to get keybindings from ncurses instead of assuming VT100. + Also, make "not a large assumption" about ncurses idiosyncracies. + + -- Clint Adams <schizo@debian.org> Sun, 9 Dec 2001 23:47:05 -0500 + +zsh (4.0.4-7) unstable; urgency=medium + + * Command completion for spamassassin. + + -- Clint Adams <schizo@debian.org> Sun, 9 Dec 2001 13:29:16 -0500 + +zsh (4.0.4-6) unstable; urgency=low + + * No longer build-depend on debhelper. + + -- Clint Adams <schizo@debian.org> Sat, 8 Dec 2001 14:12:48 -0500 + +zsh (4.0.4-5) unstable; urgency=medium + + * Completion for rsync. + + -- Clint Adams <schizo@debian.org> Thu, 29 Nov 2001 12:09:53 -0500 + +zsh (4.0.4-4) unstable; urgency=low + + * mhp's patch for dupload completion to check ~/.dupload.conf. + closes: bug#120371. + + -- Clint Adams <schizo@debian.org> Mon, 26 Nov 2001 12:23:12 -0500 + +zsh (4.0.4-3) unstable; urgency=medium + + * Completion for dput. closes: bug#119353. + + -- Clint Adams <schizo@debian.org> Sun, 18 Nov 2001 15:48:13 -0500 + +zsh (4.0.4-2) unstable; urgency=high + + * Fix make targets. + + -- Clint Adams <schizo@debian.org> Tue, 30 Oct 2001 11:18:16 -0500 + +zsh (4.0.4-1) unstable; urgency=medium + + * New upstream release. + + -- Clint Adams <schizo@debian.org> Fri, 26 Oct 2001 09:56:16 -0400 + +zsh (4.0.3-1) unstable; urgency=medium + + * New upstream release. + + -- Clint Adams <schizo@debian.org> Thu, 25 Oct 2001 09:59:32 -0400 + +zsh (4.0.2-9) unstable; urgency=medium + + * Don't make empty example directories in /usr/share/doc. + closes: bug#113959. + + -- Clint Adams <schizo@debian.org> Sun, 30 Sep 2001 13:24:48 -0400 + +zsh (4.0.2-8) unstable; urgency=high + + * Try not to choke in the prerm when cleaning out + the compiled function digests. closes: bug#112955. + + -- Clint Adams <schizo@debian.org> Fri, 21 Sep 2001 16:44:21 -0400 + +zsh (4.0.2-7) unstable; urgency=medium + + * Don't complain about policy-compliant "insecure" + directories in $fpath. + + -- Clint Adams <schizo@debian.org> Thu, 6 Sep 2001 17:05:58 -0400 + +zsh (4.0.2-6) unstable; urgency=medium + + * Move site-functions dir to /usr/local. + + -- Clint Adams <schizo@debian.org> Sun, 2 Sep 2001 18:35:04 -0400 + +zsh (4.0.2-5) unstable; urgency=low + + * Exclude libcap build-dep on hurd-i386. closes: bug#111004. + + -- Clint Adams <schizo@debian.org> Sun, 2 Sep 2001 17:48:30 -0400 + +zsh (4.0.2-4) unstable; urgency=medium + + * Add completion for links(1). + + -- Clint Adams <schizo@debian.org> Thu, 23 Aug 2001 09:53:25 -0400 + +zsh (4.0.2-3) unstable; urgency=medium + + * Make gzip completion behave properly for -l and -t. + closes: bug#106958. + * Make unzip completion behave properly for unzip -Z. + closes: bug#108626. + * Compensate for inanities permeating resource.h of + glibc 2.2.4 on sparc64, causing the ``no such resource: + coredumpsize'' problem noticed by Joy. + + -- Clint Adams <schizo@debian.org> Tue, 21 Aug 2001 15:31:08 -0400 + +zsh (4.0.2-2) unstable; urgency=low + + * Added build-dep on bsdmainutils. + * Fixed typo in ssh_completion example. closes: bug#106470. + + -- Clint Adams <schizo@debian.org> Fri, 27 Jul 2001 10:51:54 -0400 + +zsh (4.0.2-1) unstable; urgency=medium + + * New upstream stable release. + * Don't segfault on shoop.sh. closes: bug#101523. + * Better last(1) completion. closes: bug#102153. + * Changed build-dep on groff to groff-base. + * Added missing build-dep on libcap-dev. + + -- Clint Adams <schizo@debian.org> Tue, 26 Jun 2001 11:16:28 -0400 + +zsh (4.0.1-1) unstable; urgency=high + + * New upstream stable release. + + -- Clint Adams <schizo@debian.org> Fri, 1 Jun 2001 11:32:15 -0400 + +zsh (4.0.0+4.0.1.pre5-2) unstable; urgency=high + + * Matt Zimmerman's cleaner _perl_config_vars(). closes: bug#99096. + * update-alternatives completion. closes: bug#98980. + * Matt Zimmerman's patch for apt-get --reinstall completion. closes: bug#98454. + * Change prompt expansion of %# to ignore significance of Inheritable capabilities. + closes: bug#98475. + * Make ZLS_COLOURS and ZLS_COLORS a bit more consistent in the face of compinit. + closes: bug#98424. + + -- Clint Adams <schizo@debian.org> Wed, 30 May 2001 10:12:27 -0400 + +zsh (4.0.0+4.0.1.pre5-1) unstable; urgency=medium + + * New upstream development release. + * Repatch completion for diff. + + -- Clint Adams <schizo@debian.org> Tue, 22 May 2001 10:05:31 -0400 + +zsh (4.0.0+4.0.1.pre4-4) unstable; urgency=medium + + * Fix completion for diff. closes: bug#97626. + * Fix completion for modprobe. closes: bug#97627. + * Fix completion for pdflatex. closes: bug#97881. + * Introduce zsh-static binary package. + + -- Clint Adams <schizo@debian.org> Mon, 21 May 2001 17:46:32 -0400 + +zsh (4.0.0+4.0.1.pre4-3) unstable; urgency=medium + + * Add completion for rmmod and modprobe -r. closes: bug#97524. + + -- Clint Adams <schizo@debian.org> Tue, 15 May 2001 10:27:52 -0400 + +zsh (4.0.0+4.0.1.pre4-2) unstable; urgency=high + + * Actually byte-compile the functions this time. + + -- Clint Adams <schizo@debian.org> Fri, 11 May 2001 14:33:58 -0400 + +zsh (4.0.0+4.0.1.pre4-1) unstable; urgency=medium + + * New upstream development release. + * Fixes bug in math evaluation. closes: bug#80977. + * Fixes bug in CVS completion. closes: bug#92783. + * Byte-compile included functions in postinst and remove in + prerm. closes: bug#75207. + * Use function directory hierarchy instead of flat. + * Include Martin Waitz's Alt-Backspace key binding example. closes: bug#87731. + * Updated Standards-Version to 3.5.3.0. + + -- Clint Adams <schizo@debian.org> Wed, 9 May 2001 10:09:45 -0400 + +zsh (4.0.0+4.0.1.pre3-2) unstable; urgency=medium + + * Fixed INSTALL_FLAGS typo in debian/rules. + * Create and remove /usr/local/share/zsh/site-functions + directory per ch.10.1.2 of policy. closes: bug#92743. + + -- Clint Adams <schizo@debian.org> Wed, 18 Apr 2001 21:15:57 -0400 + +zsh (4.0.0+4.0.1.pre3-1) unstable; urgency=medium + + * New upstream development release. closes: bug#93231. + * Added completion for release names after apt-get -t or the slash. + closes: bug#86854. + + -- Clint Adams <schizo@debian.org> Mon, 9 Apr 2001 20:47:42 -0400 + +zsh (4.0.0+4.0.1.pre2-2) unstable; urgency=high + + * Applied patch 13907, fix reverse string subscripting. closes: bug#92782. + + -- Clint Adams <schizo@debian.org> Thu, 5 Apr 2001 13:38:51 -0400 + +zsh (4.0.0+4.0.1.pre2-1) unstable; urgency=medium + + * New upstream development release. closes: bug#81294. + * Add completion support for w3m. closes: bug#88717. + * Update completion support for apt. half of 86854. + + -- Clint Adams <schizo@debian.org> Thu, 29 Mar 2001 15:57:57 -0500 + +zsh (3.1.9.dev8-5) stable; urgency=high + + * Fix build-deps for stable again. + + -- Clint Adams <schizo@debian.org> Wed, 28 Mar 2001 16:24:43 -0500 + +zsh (3.1.9.dev8-4) stable unstable; urgency=high + + * Don't segfault on a null path component. closes: bug#83354. + + -- Clint Adams <schizo@debian.org> Mon, 26 Mar 2001 16:13:28 -0500 + +zsh (3.1.9.dev8-3) unstable; urgency=medium + + * No longer set PS1 in /etc/zshrc. closes: bug#80970. + * Set READNULLCMD as per Debian pager policy. closes: bug#82823. + * Michal Politowski's patch for _complete_tag. closes: bug#91778. + * Michal Politowski's patch for _pids. closes: bug#91792. + + -- Clint Adams <schizo@debian.org> Mon, 26 Mar 2001 14:09:01 -0500 + +zsh (3.1.9.dev8-2) unstable; urgency=high + + * Fixed typo in apt-cache completion. closes: bug#80339. + * Fixed dpkg -i completion of multiple debs. closes: bug#80178. + * Fixed segfault on nonexistent capabilities in terminfo. + * Fixed jobtable size autoconf code. + + -- Clint Adams <schizo@debian.org> Sat, 23 Dec 2000 01:57:09 -0500 + +zsh (3.1.9.dev8-1) unstable; urgency=medium + + * New upstream development release. closes: bug#69928, bug#74874, + bug#76789. + * Bind arrow keys in vi insert mode. closes: bug#77496. + + -- Clint Adams <schizo@debian.org> Tue, 5 Dec 2000 20:01:19 -0500 + +zsh (3.1.9.dev7-2) unstable; urgency=low + + * Changed global zshrc so that root's umask is set by default to + 022. Patch from Miquel van Smoorenburg closes: bug#76767. + + -- Clint Adams <schizo@debian.org> Sun, 12 Nov 2000 00:01:06 -0500 + +zsh (3.1.9.dev7-1) unstable; urgency=medium + + * New upstream development release. + + -- Clint Adams <schizo@debian.org> Sun, 22 Oct 2000 01:42:26 -0400 + +zsh (3.1.9.dev6-7) stable; urgency=medium + + * Reissue to fix bad i386 build. + + -- Clint Adams <schizo@debian.org> Sun, 8 Oct 2000 01:21:01 -0400 + +zsh (3.1.9.dev6-6) stable; urgency=medium + + * Backport to fix grave bug in potato. + + -- Clint Adams <schizo@debian.org> Sat, 7 Oct 2000 13:01:22 -0400 + +zsh (3.1.9.dev6-5) unstable; urgency=medium + + * Change behavior of failed redirection of builtins and such + to mimic that of forked binaries. closes: bug#72288. + + -- Clint Adams <schizo@debian.org> Mon, 2 Oct 2000 11:07:33 -0400 + +zsh (3.1.9.dev6-4) unstable; urgency=medium + + * Fix compctl.dpkg example so that it functions when EXTENDED_GLOB + is set and added some comments. closes: bug#71474. + * Remove explicit color settings from BODY tags of html docs + after texi2html puts them there. closes: bug#71627. + + -- Clint Adams <schizo@debian.org> Tue, 12 Sep 2000 16:08:46 -0400 + +zsh (3.1.9.dev6-3) unstable; urgency=low + + * Restore build dependencies for woody. Source is now divergent. + + -- Clint Adams <schizo@debian.org> Mon, 11 Sep 2000 03:37:12 -0400 + +zsh (3.1.9.dev6-2potato1) stable; urgency=high + + * Fix build dependencies for potato. closes: bug#71145. + * Incidentally, gzipped PostScript files are now completed + for gv as of dev-6, so this closes: bug#56485. + + -- Clint Adams <schizo@debian.org> Mon, 11 Sep 2000 03:26:42 -0400 + +zsh (3.1.9.dev6-2) stable unstable; urgency=high + + * Add module aliasing to /etc/zshrc to provide backward compatibility + with versions prior to 3.1.9-dev-5. closes: bug#71046. + + -- Clint Adams <schizo@debian.org> Thu, 7 Sep 2000 11:37:33 -0400 + +zsh (3.1.9.dev6-1) stable unstable; urgency=medium + + * New upstream development release. + + -- Clint Adams <schizo@debian.org> Mon, 4 Sep 2000 11:59:01 -0400 + +zsh (3.1.9.dev5-3) stable unstable; urgency=medium + + * Complete files after man -l instead of manpages. closes: bug#70755. + + -- Clint Adams <schizo@debian.org> Sun, 3 Sep 2000 17:47:50 -0400 + +zsh (3.1.9.dev5-2) stable unstable; urgency=medium + + * Fixed broken dpkg completion. Probably closes: bug#70610. + * The segfault on the time builtin has been fixed since 3.1.9-4, but + people are obviously going to keep reporting it until it gets into + potato. This is destined for proposed-updates, so hopefully it + closes: bug#70683. + + -- Clint Adams <schizo@debian.org> Fri, 1 Sep 2000 10:02:56 -0400 + +zsh (3.1.9.dev5-1) unstable; urgency=medium + + * New upstream development release. + * Updated standards version. + + -- Clint Adams <schizo@debian.org> Fri, 11 Aug 2000 15:55:44 -0400 + +zsh (3.1.9.dev4-1) unstable; urgency=medium + + * New upstream development release. + * Moved additional keybindings out of source and into global zshrc. + + -- Clint Adams <schizo@debian.org> Mon, 31 Jul 2000 13:15:35 -0400 + +zsh (3.1.9.dev3-1) unstable; urgency=medium + + * New upstream development release. + * Removed preinst. closes: bug#67252. + + -- Clint Adams <schizo@debian.org> Mon, 17 Jul 2000 19:54:50 -0400 + +zsh (3.1.9.dev2-1) unstable; urgency=medium + + * New upstream development release. Fixes ignored-patterns bug; + closes: bug#66464. + + -- Clint Adams <schizo@debian.org> Mon, 3 Jul 2000 12:07:04 -0400 + +zsh (3.1.9-5) unstable; urgency=medium + + * Added explanation of deriving ssh host completion possibilities + from known_hosts file to examples directory. + + -- Clint Adams <schizo@debian.org> Sun, 25 Jun 2000 10:19:09 -0400 + +zsh (3.1.9-4) unstable; urgency=medium + + * Moved umask setting from /etc/zprofile to /etc/zshrc, added + conditional. closes: bug#65596. + * ZW#11885: Patch for 'time time'. closes: bug#65602, bug#65604. + + -- Clint Adams <schizo@debian.org> Wed, 14 Jun 2000 09:42:15 -0400 + +zsh (3.1.9-3) unstable; urgency=medium + + * Fixed TRAPEXIT segfault problem. closes: bug#65350. + * Bart Schaefer's patch to prevent coredumps during menu selection + when the terminal does not have a programmable cursor. + + -- Clint Adams <schizo@debian.org> Sat, 10 Jun 2000 13:14:14 -0400 + +zsh (3.1.9-2) unstable; urgency=medium + + * Tanaka Akira's patch fixing apt-get completion. + + -- Clint Adams <schizo@debian.org> Thu, 8 Jun 2000 09:11:05 -0400 + +zsh (3.1.9-1) unstable; urgency=medium + + * New upstream beta release. + * Completion for dpkg improved. closes: bug#61710. + + -- Clint Adams <schizo@debian.org> Tue, 6 Jun 2000 09:17:41 -0400 + +zsh (3.1.7-1) unstable; urgency=medium + + * New upstream beta release. closes: bug#60989, #62126, #62128, + #63781, #64125, #64131, #64582, #64684, #64695, #64517. + * Updated Build-Depends to include debhelper. + * Updated copyright file. + * Included Ray's sample zshrc previously featured in zsh-beta. + * Expanded job table size limit. closes: bug#49221. + + -- Clint Adams <schizo@debian.org> Tue, 30 May 2000 11:00:38 -0400 + +zsh (3.1.6.pws21-1) frozen unstable; urgency=high + + * New upstream development release. compinstall no longer inserts + the invalid command 'compstyle' into .zshrc. closes: bug#61326. + * ZW#10463: Add PM_HASHELEM type to avoid allexport spewing assoc. array + subparameters into the environment. closes: bug#60597. + * Fixed bad awk command for zftp completion. closes: bug#60754. + * ZW#10408, SF#103798: Fix space-containing directory completion + brain damage. closes: bug#61567. + * Fixed _dpkg completion thinko for -i and non-completion for -S + mentioned by Joy in bug #61710. + * Added core completion functions accidentally left out of tarball. + + -- Clint Adams <schizo@debian.org> Tue, 4 Apr 2000 22:55:14 -0400 + +zsh (3.1.6.pws20-1) frozen unstable; urgency=high + + * New upstream development release. fixes "cd" coredump. + closes: bug#58941. + + -- Clint Adams <schizo@debian.org> Sat, 25 Mar 2000 09:38:05 -0500 + +zsh (3.1.6.pws19-1) frozen unstable; urgency=high + + * New upstream development release. fixes _x_argument to complete + files also. closes: bug#58229. fixes bad function termination + coredump. + * Works around broken FIFOs in configure test. closes: bug#58036. + + -- Clint Adams <schizo@debian.org> Mon, 21 Feb 2000 14:31:23 -0500 + +zsh (3.1.6.pws16-1) frozen unstable; urgency=low + + * New upstream development release. Fixes incorrect module-loading + in Zftp. closes: bug#55809. Dozens of bugfixes. + + -- Clint Adams <schizo@debian.org> Fri, 28 Jan 2000 10:43:55 -0500 + +zsh (3.1.6.pws15-1) unstable; urgency=low + + * New upstream development release. Fixes typo in a2ps completion. + closes: bug#55004. + + -- Clint Adams <schizo@debian.org> Sat, 15 Jan 2000 13:35:02 -0500 + +zsh (3.1.6.pws14-1) unstable; urgency=low + + * New upstream development release. + * Fixed new-style dpkg completion. closes: bug#53339. + + -- Clint Adams <schizo@debian.org> Fri, 7 Jan 2000 10:23:09 -0500 + +zsh (3.1.6.pws13-1) unstable; urgency=low + + * New upstream release. + * Fixed new-style completion for tar. closes: bug#52785. + + -- Clint Adams <schizo@debian.org> Fri, 24 Dec 1999 17:34:31 -0500 + +zsh (3.1.6.pws12-1) unstable; urgency=low + + * New upstream release. + * Cleaned up stray config.cache. closes: bug #52432. + + -- Clint Adams <schizo@debian.org> Thu, 16 Dec 1999 12:20:04 -0500 + +zsh (3.1.6.pws11-1) unstable; urgency=low + + * New upstream release. + * Note about completion being off by default in + README.Debian. closes: bug#49374, bug#50009, bug#51150. + + -- Clint Adams <schizo@debian.org> Wed, 8 Dec 1999 17:26:51 -0500 + +zsh (3.1.6.pws10-2) unstable; urgency=high + + * Fix to prevent infinite loop upon abrupt termination. + closes: bug#51802, bug#51810, bug#51828. + + -- Clint Adams <schizo@debian.org> Fri, 3 Dec 1999 10:56:10 -0500 + +zsh (3.1.6.pws10-1) unstable; urgency=low + + * New upstream release. closes: bug#51304. + * Now impersonates a compiler when printing script errors. + closes: bug#51059. + + -- Clint Adams <schizo@debian.org> Mon, 29 Nov 1999 18:58:03 -0500 + +zsh (3.1.6.pws9-1) unstable; urgency=low + + * New upstream release. + * Changed fix for floating point arithmatic evaluation to be + locale-independent. Again closes: bug#49789. + * Moved doc alternatives fix to preinst. closes: bug#50835. + * Moved install-docs correction to preinst. closes: bug#50919. + + -- Clint Adams <schizo@debian.org> Mon, 22 Nov 1999 09:59:12 -0500 + +zsh (3.1.6.pws6.tanaka19991119-1) unstable; urgency=low + + * New "upstream" snapshot. + * Removed errant config.cache causing glibc2.0 build problems. + closes: bug#49966. + * Removed alternative handling of info files. + + -- Clint Adams <schizo@debian.org> Fri, 19 Nov 1999 12:08:40 -0500 + +zsh (3.1.6.pws6.tanaka19991111-1) unstable; urgency=low + + * New "upstream" snapshot. + * Tweaked math/locale interaction to allow setting + of floating point variables where the decimal point + is a comma. closes: bug#49789. + + -- Clint Adams <schizo@debian.org> Thu, 11 Nov 1999 11:28:36 -0500 + +zsh (3.1.6.pws6.tanaka19991110-1) unstable; urgency=low + + * New "upstream" snapshot. + * Corrected keybinding thinko. closes: bug#49750. + + -- Clint Adams <schizo@debian.org> Wed, 10 Nov 1999 10:29:56 -0500 + +zsh (3.1.6.pws6.tanaka19991109-1) unstable; urgency=low + + * New "upstream" snapshot. + + -- Clint Adams <schizo@debian.org> Tue, 9 Nov 1999 10:45:41 -0500 + +zsh (3.1.6.pws6.tanaka19991108-1) unstable; urgency=low + + * New "upstream" snapshot. + * Fixed erroneous length calculation involving 79-character + strings in 80-column windows. closes: bug#38538. + * Fixed zsh-doc's Architecture field. + + -- Clint Adams <schizo@debian.org> Mon, 8 Nov 1999 09:44:33 -0500 + +zsh (3.1.6.pws6.tanaka19991107-1) unstable; urgency=low + + * New "upstream" snapshot. + + -- Clint Adams <schizo@debian.org> Sun, 7 Nov 1999 10:52:44 -0500 + +zsh (3.1.6.pws6.tanaka19991105-1) unstable; urgency=low + + * New "upstream" snapshot. + + -- Clint Adams <schizo@debian.org> Fri, 5 Nov 1999 10:16:41 -0500 + +zsh (3.1.6.pws6.tanaka19991104-1) unstable; urgency=low + + * New "upstream" snapshot. + * Fixed erroneous discrepancies with bart-8. + + -- Clint Adams <schizo@debian.org> Thu, 4 Nov 1999 10:28:28 -0500 + +zsh (3.1.6.pws6.tanaka19991103-1) unstable; urgency=low + + * New "upstream" snaphot. + * Now including completion-style-guide in /usr/share/doc/zsh + + -- Clint Adams <schizo@debian.org> Wed, 3 Nov 1999 12:01:28 -0500 + +zsh (3.1.6.pws6.tanaka19991102-1) unstable; urgency=low + + * New "upstream" snapshot. + * Fixed references to /usr/local/bin/zsh in some functions. + + -- Clint Adams <schizo@debian.org> Tue, 2 Nov 1999 13:46:20 -0500 + +zsh (3.1.6.pws6.tanaka19991031-1) unstable; urgency=low + + * New "upstream" snapshot. closes: bug#48483. + * Forked zsh/zsh-doc from zsh-beta/zsh-beta-doc. + + -- Clint Adams <schizo@debian.org> Sun, 31 Oct 1999 22:16:30 -0500 + +zsh (3.1.6.pws6.tanaka19991028-1) unstable; urgency=low + + * New "upstream" snapshot. + * Improved doc-share/doc symlink handling. + * manpages and info now under alternatives mechanism. + + -- Clint Adams <schizo@debian.org> Thu, 28 Oct 1999 10:26:59 -0400 + +zsh (3.1.6.pws6.tanaka19991027-1) unstable; urgency=low + + * New "upstream" snapshot. + * Applied Csaba Benedek's compctl.dpkg example fix. closes: bug#48472. + * Split HTML and info docs into separate binary package. + + -- Clint Adams <schizo@debian.org> Wed, 27 Oct 1999 11:09:49 -0400 + +zsh (3.1.6.pws6.bart7-1) unstable; urgency=low + + * New "upstream" release. closes: bug#44059, bug#47398. + * Disabled tcsetpgrp test to allow job control to be built on + powerpc. closes: bug#47591. + + -- Clint Adams <schizo@debian.org> Tue, 19 Oct 1999 11:45:11 -0400 + +zsh (3.1.6.pws6-1) unstable; urgency=low + + * New upstream release. + * Fixed doc-base inconsistency. closes: bug#45648. + + -- Clint Adams <schizo@debian.org> Sun, 26 Sep 1999 16:34:16 -0400 + +zsh (3.1.6.pws5-1) unstable; urgency=low + + * New upstream release. + * Debian changelog is now back in the binary package. closes: bug#45295. + + -- Clint Adams <schizo@debian.org> Mon, 20 Sep 1999 11:11:47 -0400 + +zsh (3.1.6.pws4-1) unstable; urgency=low + + * New upstream release. + * Day of ridiculous symlinks. + /bin/zsh (managed by alternatives), closes: bug#41018 + /usr/doc/zsh -> /usr/share/doc/zsh. + * Added support for DEB_BUILD_OPTIONS containing 'debug'. + * Moved info files to /usr/share/info + * Added registration of Z Shell Guide with doc-base. + + -- Clint Adams <schizo@debian.org> Tue, 14 Sep 1999 11:28:34 -0400 + +zsh (3.1.6.pws3-1) unstable; urgency=low + + * New upstream release. closes: bug#41242, bug#41895. + + -- Clint Adams <schizo@debian.org> Tue, 7 Sep 1999 14:50:40 -0400 + +zsh (3.1.6-3) unstable; urgency=low + + * Fixed silly typo in the postinst. + + -- Clint Adams <schizo@debian.org> Wed, 1 Sep 1999 04:00:43 -0400 + +zsh (3.1.6-2) unstable; urgency=low + + * Added menu entry. + * Moved documentation from /usr/doc to /usr/share/doc. + * Fixed compctl.dpkg examples; patch from Gregor Hoffleit. closes: #43662. + + -- Clint Adams <schizo@debian.org> Sun, 29 Aug 1999 08:18:19 -0400 + +zsh (3.1.6-1) unstable; urgency=low + + * New upstream release. closes: bug#41644, bug#43034. + * Fixed bad default FPATH. closes: bug#40777, bug#41028, bug#41893. + * Fixed up compctl.dpkg examples pointed out by Fabien Ninoles. + closes: bug#41894. + + -- Clint Adams <schizo@debian.org> Wed, 11 Aug 1999 09:48:00 -0400 + +zsh (3.1.5.pws24-1) unstable; urgency=low + + * New upstream release. + * Changed Rob Leslie's run-help in the source diff instead of + in the rules file. closes: bug# 38614 again. + + -- Clint Adams <schizo@debian.org> Mon, 28 Jun 1999 20:22:15 -0400 + +zsh (3.1.5.pws21-1) unstable; urgency=low + + * New upstream release. + * Turned off globbing flags when EXTENDED_GLOB unset. closes: bug#38312 + + -- Clint Adams <schizo@debian.org> Sun, 13 Jun 1999 12:36:52 -0400 + +zsh (3.1.5.pws20-1) unstable; urgency=low + + * New "upstream" release. + * run-help now uses pager instead of more. bug# 38614. + * MAILPATH maildir support patch from Miquel van Smoorenburg + <miquels@cistron.nl>. bug# 38793. + * Hardcoded (ugh) Home, End, and Delete key bindings. + bug# 26862, bug# 30792. + + -- Clint Adams <schizo@debian.org> Thu, 3 Jun 1999 00:01:16 -0400 + +zsh (3.1.5.pws19-1) unstable; urgency=low + + * New "upstream" release. + * Moved /usr/lib/zsh to /usr/share/zsh. Bug# 38086. + + -- Clint Adams <schizo@debian.org> Sat, 22 May 1999 22:23:17 -0400 + +zsh (3.1.5.pws18-1) unstable; urgency=low + + * New "upstream" release. + + -- Clint Adams <schizo@debian.org> Sat, 15 May 1999 15:48:19 -0400 + +zsh (3.1.5.pws17-1) unstable; urgency=low + + * New upstream release. fixes bug #35119, bug #32144. + * Fixed quotes on dpkg compctl example. bug# 36995 + + -- Clint Adams <schizo@debian.org> Mon, 10 May 1999 17:23:33 -0400 + +zsh (3.1.5.pws16-1) unstable; urgency=low + + * New upstream release. + (Fixes bug #24910, bug# 26861, bug# 27871). + * unset dpkg_options in compctl example (bug# 36337). + + -- Clint Adams <schizo@debian.org> Wed, 28 Apr 1999 16:57:17 -0400 + +zsh (3.1.2-12) frozen unstable; urgency=low + + * Removed unlimit coredumpsize from /etc/zprofile. + closes: bug#23029. + + -- Clint Adams <schizo@debian.org> Sun, 7 Feb 1999 13:35:47 -0500 + +zsh (3.1.2-11) frozen unstable; urgency=high + + * Bart Schaefer's init patch prevents coredumps when running + zsh -c or zsh -o without arguments or zsh with a nonexistent + filename. closes: bug#26861, bug#27871, bug#24910. + + -- Clint Adams <schizo@debian.org> Sun, 7 Feb 1999 09:47:11 -0500 + +zsh (3.1.2-10) frozen unstable; urgency=high + + * Removed --enable-zsh-mem to avoid problems on other + sparc and other architectures. fixes: #29984, #30512. + * Fixed badly quoted manpages. (bug#29998). + * Only will set FPATH in /etc/zshrc if unset. (bug#29634). + + -- Clint Adams <schizo@debian.org> Fri, 22 Jan 1999 13:34:19 -0500 + +zsh (3.1.2-9) frozen unstable; urgency=low + + * Added binding for Del key. bug#24258. + * Fixed paths in examples. bug#25402. + * Added Karl Hegbloom's compctl examples. bug#23272. + + -- Clint Adams <schizo@debian.org> Mon, 9 Nov 1998 18:30:27 -0500 + +zsh (3.1.2-8) frozen unstable; urgency=high + + * Applied Peter Stephenson's patch alleviating the + reverse-history-search segmentation fault in login + shells problem (bug#23033). + * Changed /etc/zshenv to set PATH only if unset or if + set to /bin:/usr/bin (bug#22400, bug#23036). + + -- Clint Adams <schizo@debian.org> Sat, 11 Jul 1998 01:57:45 -0400 + +zsh (3.1.2-7) frozen unstable; urgency=high + + * Fixed improper generation of signal list. + + -- Clint Adams <schizo@debian.org> Mon, 18 May 1998 11:27:30 -0400 + +zsh (3.1.2-6) frozen unstable; urgency=low + + * Applied patch to correct miscalculation in spaceinline(). + * Changed /etc/zshenv to only set PATH if unset. + + -- Clint Adams <schizo@debian.org> Thu, 14 May 1998 01:43:58 -0400 + +zsh (3.1.2-5) frozen unstable; urgency=low + + * Included current FAQ. + * Applied patch to fix prefix completion in zle_tricky + * Applied patch to fix clobbering behavior. + * Applied patch to fix typeset -U array; array=(1 2 1) creating + a non-unique array. + * Applied patch to fix unbalanced stack error on $((0x1+0x1)). + * Applied patch to fix incorrect prototype from match_username cast + in zle_tricky. + * Applied patches to read builtin. + * Applied patches to fix glob coredumping. + * Moved FPATH, PS1, and autoload of run-help to /etc/zshrc. bug#20043. + * Moved setting of PATH back to /etc/zshenv. + + -- Clint Adams <schizo@debian.org> Thu, 7 May 1998 20:38:01 -0400 + +zsh (3.1.2-4) frozen unstable; urgency=high + + * Applied Bernd Eggink's patch to make select comply with the documentation. + * Applied Bernd Eggink's patches to bin_getopts() fixing several bugs. + * Patched doinsert() to fix nasty problem of segfaults and other oddities + involved with metacharacters under X. fixes: bug#18791. + * Some minor aesthetic modifications to the package description, + including those demanded by Richard Braakman. fixes: bug#18987. + * Stopped debstd from sneaking ansi2knr.1 into /usr/man/man1. fixes: bug#17833. + + -- Clint Adams <schizo@debian.org> Tue, 17 Mar 1998 02:46:42 -0500 + +zsh (3.1.2-3) unstable; urgency=medium + + * Fixed typo in debian/rules (bug #17858). + * Applied zefram3 patches. Bug #18039 is fixed. + * Removed "." from default PATH (bug #18047). + + -- Clint Adams <schizo@debian.org> Tue, 17 Feb 1998 21:53:45 -0500 + +zsh (3.1.2-2) unstable; urgency=high + + * Disabled dynamic module support. + + -- Clint Adams <schizo@debian.org> Thu, 5 Feb 1998 00:02:35 -0500 + +zsh (3.1.2-1) unstable; urgency=low + + * New upstream release. + * Changed default umask from 022 to 002. + * Moved contents of /etc/zshenv and /etc/zshrc to /etc/zprofile + to avoid overriding PATH on every shell invocation (bug #17582). + * Modified configure script to search for utmp in /var/run before /etc. + * Modified configure script to search for wtmp in /var/log before /etc (bug #15802). + * Redisabled HISTCHARS/histchars import. + + -- Clint Adams <schizo@debian.org> Tue, 3 Feb 1998 14:50:00 -0500 + +zsh (3.0.5-2) unstable; urgency=low + + * Changed HISTCHARS/histchars to not reset (bug #6236). + + -- Clint Adams <schizo@debian.org> Fri, 28 Nov 1997 00:31:13 -0500 + +zsh (3.0.5-1) unstable; urgency=low + + * New upstream release + + -- Clint Adams <schizo@debian.org> Fri, 26 Sep 1997 13:35:56 -0400 + +zsh (3.0.4-1) unstable; urgency=low + + * New upstream release. + * New maintainer + * Converted to use libc6. + * Converted to new source packaging format. + * Using pristine original source. + * Added Joey Hess's compctl example for dpkg to /usr/doc/zsh/examples + + -- Clint Adams <schizo@debian.org> Thu, 24 Jul 1997 13:42:49 -0400 diff --git a/debian/conffiles b/debian/conffiles new file mode 100644 index 000000000..dbe1840a2 --- /dev/null +++ b/debian/conffiles @@ -0,0 +1,6 @@ +/etc/zsh/zlogin +/etc/zsh/zlogout +/etc/zsh/zprofile +/etc/zsh/zshenv +/etc/zsh/zshrc +/etc/zsh/newuser.zshrc.recommended diff --git a/debian/control b/debian/control new file mode 100644 index 000000000..6866d01ce --- /dev/null +++ b/debian/control @@ -0,0 +1,88 @@ +Source: zsh +Section: shells +Priority: optional +Build-Depends: texinfo, groff-base, libncursesw5-dev, texi2html (>= 1.76-3), libcap-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], bsdmainutils, libpcre3-dev, texlive-latex-base +Maintainer: Debian Zsh Maintainers <pkg-zsh-devel@lists.alioth.debian.org> +Uploaders: Michael Prokop <mika@debian.org>, Axel Beckert <abe@debian.org>, Clint Adams <clint@debian.org> +Standards-Version: 3.9.1 +Homepage: http://www.zsh.org/ +Vcs-Git: git://git.debian.org/collab-maint/zsh.git +Vcs-Browser: http://git.debian.org/?p=collab-maint/zsh.git;a=summary + +Package: zsh +Architecture: any +Section: shells +Depends: ${shlibs:Depends} +Recommends: ${shlibs:Recommends} +Suggests: zsh-doc +Description: A shell with lots of features + Zsh is a UNIX command interpreter (shell) usable as an + interactive login shell and as a shell script command + processor. Of the standard shells, zsh most closely resembles + ksh but includes many enhancements. Zsh has command-line editing, + built-in spelling correction, programmable command completion, + shell functions (with autoloading), a history mechanism, and a + host of other features. + +Package: zsh-doc +Architecture: all +Section: doc +Depends: dpkg (>= 1.15.4) | install-info +Description: zsh documentation - info/HTML format + Zsh is a UNIX command interpreter (shell) usable as an + interactive login shell and as a shell script command + processor. Of the standard shells, zsh most closely resembles + ksh but includes many enhancements. Zsh has command-line editing, + built-in spelling correction, programmable command completion, + shell functions (with autoloading), a history mechanism, and a + host of other features. + . + This contains the documentation in GNU info and HTML formats. + +Package: zsh-static +Architecture: any +Section: shells +Depends: ${shlibs:Depends}, zsh +Suggests: zsh-doc +Description: A shell with lots of features (static link) + Zsh is a UNIX command interpreter (shell) usable as an + interactive login shell and as a shell script command + processor. Of the standard shells, zsh most closely resembles + ksh but includes many enhancements. Zsh has command-line editing, + built-in spelling correction, programmable command completion, + shell functions (with autoloading), a history mechanism, and a + host of other features. + . + This is the statically-compiled version of the shell. + +Package: zsh-dev +Architecture: any +Section: libdevel +Description: A shell with lots of features (development files) + Zsh is a UNIX command interpreter (shell) usable as an + interactive login shell and as a shell script command + processor. Of the standard shells, zsh most closely resembles + ksh but includes many enhancements. Zsh has command-line editing, + built-in spelling correction, programmable command completion, + shell functions (with autoloading), a history mechanism, and a + host of other features. + . + This package contains headers and scripts necessary to compile + third-party modules. + +Package: zsh-dbg +Architecture: any +Section: debug +Priority: extra +Depends: zsh (= ${binary:Version}) +Description: A shell with lots of features (debugging symbols) + Zsh is a UNIX command interpreter (shell) usable as an + interactive login shell and as a shell script command + processor. Of the standard shells, zsh most closely resembles + ksh but includes many enhancements. Zsh has command-line editing, + built-in spelling correction, programmable command completion, + shell functions (with autoloading), a history mechanism, and a + host of other features. + . + This package contains gdb debugging symbols for the 'zsh' + package. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 000000000..7a42be708 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,36 @@ +This is the Debian Linux prepackaged version of the Z Shell (zsh), a shell +with lots of features. + +This package was put together by Robert Leslie <rob@mars.org> with sources +obtained from: + ftp://ftp.math.gatech.edu/pub/zsh/ + +Source can now be obtained from ftp://ftp.zsh.org/pub/zsh/ + +The following copyright and license apply to this software: + +The Z Shell is copyright (c) 1992-2000 Paul Falstad, Richard Coleman, +Zoltán Hidvégi, Andrew Main, Peter Stephenson, Sven Wischnowsky, and +others. All rights reserved. Individual authors, whether or not +specifically named, retain copyright in all changes; in what follows, they +are referred to as `the Zsh Development Group'. This is for convenience +only and this body has no legal status. The Z shell is distributed under +the following licence; any provisions made in individual files take +precedence. + +Permission is hereby granted, without written agreement and without +licence or royalty fees, to use, copy, modify, and distribute this +software and to distribute modified versions of this software for any +purpose, provided that the above copyright notice and the following +two paragraphs appear in all copies of this software. + +In no event shall the Zsh Development Group be liable to any party for +direct, indirect, special, incidental, or consequential damages arising out +of the use of this software and its documentation, even if and the Zsh +Development Group have been advised of the possibility of such damage. + +The Zsh Development Group specifically disclaim any warranties, including, +but not limited to, the implied warranties of merchantability and fitness +for a particular purpose. The software provided hereunder is on an "as is" +basis, and the Zsh Development Group have no obligation to provide +maintenance, support, updates, enhancements, or modifications. diff --git a/debian/examples/carstenh.zshrc b/debian/examples/carstenh.zshrc new file mode 100644 index 000000000..d8a018625 --- /dev/null +++ b/debian/examples/carstenh.zshrc @@ -0,0 +1,392 @@ +# ~/.zshrc file for zsh(1). +# +# This file is sourced only for interactive shells. It should contain +# commands to set up aliases, functions, options, key bindings, etc. +# +# Global Order: zshenv, zprofile, zshrc, zlogin +# +# To enable the below-mentioned features uncomment the according lines. + + +# ### Include user name, host name and current working directory in the prompt: +PS1='%(!..%n@)%m:%~%# ' + +# ### Select emacs like key bindings: +# bindkey -e + +# ### Define some useful aliases: +# { ls --help | grep -- --color } >/dev/null 2>&1 && alias ls='ls --color=auto' +# alias l='ls -F' +# alias ll='ls -F -l' +# alias la='ls -F -A' + +# ### Keep 1000 lines of history within the shell and save it to ~/.zsh_history: +# HISTSIZE=1000 +# SAVEHIST=1000 +# HISTFILE=~/.zsh_history + +# ### Teach less, e.g., reading compressed files and listing archive content: +# which lesspipe >/dev/null && eval "$(lesspipe)" + +# ### Turn on completion with the default options: +# autoload -Uz compinit; compinit +# ### Enable completion menu: +# zstyle ':completion:*' menu select=2 +# ### Activate colored completion: +# which dircolors >/dev/null && eval "$(dircolors -b)" +# zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} + +# ### If we are in a Debian chroot display its name in the prompt: +# [[ -r /etc/debian_chroot ]] && : ${debian_chroot:="$(cat /etc/debian_chroot)"} +# PS1="${debian_chroot:+($debian_chroot)}%(!..%n@)%m:%~%# " + +# ### Use vcs_info to include version control system information in the prompt: +# setopt prompt_subst +# autoload -Uz vcs_info; vcs_info 2>/dev/null && precmd() { vcs_info } +# PS1="${debian_chroot:+($debian_chroot)}%(!..%n@)%m:%~\${vcs_info_msg_0_}%# " +# ### Configure vcs_info to be colorful: +# zstyle ':vcs_info:*' actionformats ' %F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f ' +# zstyle ':vcs_info:*' formats ' %F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{5}]%f ' +# zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{3}%r' + + + +# ### ######################################################################## +# ### All features below this line are disabled, uncomment the according # +# ### lines to enable them. # +# ### ######################################################################## + +# ### Content: +# ### * Environment variables: +# ### - LESS: Set default options for less. +# ### - GIT_PAGER: Set pager used by git. +# ### - GIT_EXEC_PATH: Tell git to look in ~/bin/git for git executables. +# ### - TIMEFMT: Set outputformat of shell builtin time. +# ### * Zsh options: +# ### - Not listed here. +# ### * Precmd / preexec: +# ### - Set xterm / rxvt title. +# ### - Set screen's window title. +# ### - Transparent directory replacement. +# ### * Aliases: +# ### - Not listed here. +# ### * Functions: +# ### - Start(), Restart(), Stop(), Reload(), Force-Reload(): +# ### Start, restart, stop, reload or force-reload a System-V +# ### style init script. +# ### - accessed(), changed(), modified(): +# ### List files which have been changed / modified / accessed +# ### within the last n days, n defaults to 1. +# ### - accessed.(), changed.(), modified.(): +# ### Same as above, but list files whose name start with +# ### a dot. +# ### - bk(): Make a backup of a file. +# ### - cdt(): Create temporary directory and chdir into it. +# ### - edalias(): Edit an alias via zle. +# ### - edfunc(): Edit a function via zle. +# ### - md(): Create given directory recursively and chdir into it. +# ### - sll(): List symlinks in detail (more detailed 'readlink -f'). +# ### - unik(): Print unique lines, input does not need to be sorted. +# ### * Misc: +# ### - Chdir to ~ if zsh was started in a non-existent directory. +# ### - Cat ~/dead.letter. +# ### - Source ~/.zshrc.local if it exists and is readable. + + + +# ### ######################################################################## +# ### Environment variables: # +# ### ####################################################################{{{1 + +# ### Set default options for less: +# ### -~ -- Display lines after end of file as blank lines. +# ### -# -- Specifies the default number of positions to scroll horizontally +# ### in the RIGHTARROW and LEFTARROW commands. +# ### -K -- Causes less to exit immediately when ^C is typed. +# ### -M -- Causes less to prompt even more verbosely than more. +# ### -R -- Causes ANSI "color" escape sequences to be displayed. +# ### -i -- Causes searches to ignore case like vim's smartcase does. +# ### -q -- Use visual bell but not the terminal bell. +# ### -w -- Temporarily highlight the first "new" line after a forward movement. +# which less >/dev/null && export LESS='-~#20KMRiqw' + +# ### Set pager used by git: +# ### -E -- Automatically exit the first time it reaches end-of-file. +# ### -F -- Automatically exit if the entire file fits on the first screen. +# ### -X -- Disable sending the termcap initialization and deinitialization +# ### strings to the terminal. Prevents clearing the screen. +# which less >/dev/null && export GIT_PAGER='less -EFX' + +# ### Tell git to look in ~/bin/git for git executables: +# which git >/dev/null && export GIT_EXEC_PATH="`git --exec-path`:$HOME/bin/git" + +# ### Set outputformat of shell builtin time: +# TIMEFMT=" +# Time spent in user mode: %U +# Time spent in kernel mode: %S +# Total time: %E +# CPU utilisation: %P +# " + + +# ### #####################################################################}}} +# ### Zsh options: # +# ### ####################################################################{{{1 + +# ### Changing directories: +# ### Try chdir if there is no matching executeable. +# setopt autocd +# ### Chdir to hashed directories without the need to prepend ~. +# setopt cdablevars +# ### Make cd push the old directory onto the directory stack. +# setopt autopushd +# ### Don't push multiple copies of the same directory onto the stack. +# setopt pushdignoredups +# ### Do not print the directory stack after pushd or popd. +# setopt pushdsilent +# ### Make pushd with no arguments act like `pushd $HOME'. +# setopt pushdtohome + +# ### Completion: +# ### Use different widths whilst displaying completion menu to reduce size. +# setopt listpacked +# ### Try to complete when cursor is in the word. +# setopt complete_in_word +# ### Automatically list choices on an ambiguous completion. +# setopt autolist + +# ### History: +# ### Don't display duplicates in while searching in history. +# setopt histfindnodups +# ### Don't put duplicate lines in history. +# setopt histignoredups +# ### Remove superfluous blanks from history. +# setopt histreduceblanks +# ### Reload line into editing buffer instead of executing it. +# setopt histverify +# ### Don't add lines prefixed by a space to history. +# setopt histignorespace + +# ### Job Control: +# ### Don't nice backgrounded jobs. +# setopt nobgnice +# ### Don't send HUP signal to running jobs when the shell exists and don't +# ### complain about still running background jobs. +# setopt nohup nocheckjobs +# ### Print backgrounded jobs when they finish. +# setopt notify +# ### Disable flow-control with ^S and ^Q. +# setopt noflowcontrol + +# ### Prompt: +# ### Print exitvalues != 0. +# setopt printexitvalue +# ### Send \r on new line. +# setopt promptcr + +# ### Zle: +# ### Be quiet. +# setopt nobeep + + +# ### #####################################################################}}} +# ### Precmd / preexec: # +# ### ####################################################################{{{1 + +# ### Set xterm / rxvt title: +# preexec_xterm_title() { +# [[ "$TERM" != "xterm" ]] && [[ "$TERM" == "${TERM#rxvt}" ]] && return +# print -nR $'\033]0;'$1$'\a' +# } +# precmd_xterm_title() { +# [[ "$TERM" != "xterm" ]] && [[ "$TERM" == "${TERM#rxvt}" ]] && return +# print -nR $'\033]0;'Terminal$'\a' +# } +# preexec_functions=( ${preexec_functions} preexec_xterm_title ) +# precmd_functions=( ${precmd_functions} precmd_xterm_title ) + +# ### Set screen's window title: +# preexec_screen_window_title() { +# [[ "$TERM" == "${TERM#screen}" ]] && return +# setopt localoptions extendedglob shwordsplit noksharrays +# typeset -a cmd m_bracket m_brace m_paren m_percent +# cmd=(${${1}[(wr)^(*=*|nice|sudo|time|env|fakeroot|trickle|-*),-1]}) +# [[ -n "$cmd[2]" ]] || { echo -ne "\ek$cmd[1]\e\\"; return; } +# m_bracket=( vi vim emacs mcedit nano ee joe less more most ) +# m_percent=( make ) +# m_paren=( man perldoc ) +# m_brace=( ) +# local cmd1="$cmd[1]" m1 m2 +# if { [[ ${m_bracket[(i)$cmd1]} -le ${#m_bracket} ]] && m1='[' && m2=']' } \ +# || { [[ ${m_brace[(i)$cmd1]} -le ${#m_brace} ]] && m1='{' && m2='}' } \ +# || { [[ ${m_paren[(i)$cmd1]} -le ${#m_paren} ]] && m1='(' && m2=')' } \ +# || { [[ ${m_percent[(i)$cmd1]} -le ${#m_percent} ]] && m1='%' && m2='%' } +# then +# shift 1 cmd +# cmd=(${${cmd}[(wr)^(*=*|-*|1|2|3|4|5|6|7|8),-1]}) +# cmd[1]="${${${${cmd[1]}##*/}%=}:-$cmd1}" +# fi +# echo -ne "\ek$m1$cmd[1]$m2\e\\" +# } +# precmd_screen_window_title() { +# [[ "$TERM" == "${TERM#screen}" ]] && return +# echo -ne "\ekzsh\e\\" +# } +# preexec_functions=( ${preexec_functions} preexec_screen_window_title ) +# precmd_functions=( ${precmd_functions} precmd_screen_window_title ) + +# ### Transparent directory replacement: +# ### http://chris-lamb.co.uk/2009/11/19/transparent-directory-replacement-zsh/ +# precmd_transparent_dir_replacement() { +# [ . -ef "$PWD" ] && return 0 +# local OLDOLDPWD="$OLDPWD" +# builtin cd -q -- "$PWD" >/dev/null 2>&1 || { +# echo >&2 "W: $PWD does not exist anymore." +# return 1 +# } +# OLDPWD="$OLDOLDPWD" +# } +# precmd_functions=( ${precmd_functions} precmd_transparent_dir_replacement ) + + +# ### #####################################################################}}} +# ### Aliases: # +# ### ####################################################################{{{1 + +# ### Ordinary aliases: +# { grep --help | grep -- --color } >/dev/null 2>&1 && \ +# alias grep='grep --color=auto' +# { egrep --help | grep -- --color } >/dev/null 2>&1 && \ +# alias egrep='egrep --color=auto' +# alias cp='nocorrect cp' +# alias ln='nocorrect ln' +# alias mkdir='nocorrect mkdir' +# alias mv='nocorrect mv' +# alias rm='nocorrect rm' + +# ### Suffix aliases: +# ### http://dev.codemac.net/config.git?p=config.git;a=blob;f=zsh/alias +# ### Automatically open images: +# if which feh >/dev/null; then +# alias -s {jpg,JPG,jpeg,JPEG,png,PNG,gif,GIF}="feh -FZd" +# fi +# ### Automatically open movies: +# if which mplayer >/dev/null; then +# alias -s {mpg,mpeg,avi,ogm,wmv,m4v,mp4,mov,3GP}="mplayer -idx" +# fi +# ### Automatically open web addresses (requires $BROWSER to be set): +# if [[ -n "$BROWSER" ]] && which "$BROWSER" >/dev/null; then +# alias -s {html,htm,com,net,org,gov,edu,de}="$BROWSER" +# fi +# ### Automatically open text files (requires $EDITOR to be set): +# if [[ -n "$EDITOR" ]] && which "$EDITOR" >/dev/null; then +# alias -s {txt,c,h}="$EDITOR" +# fi +# ### Automatically open other known files: +# which evince >/dev/null && alias -s pdf="evince" +# which evince >/dev/null && alias -s ps="evince" +# which java >/dev/null && alias -s jar="java -jar" + + +# ### #####################################################################}}} +# ### Functions: # +# ### ####################################################################{{{1 + +# ### Start(), Restart(), Stop(), Reload(), Force-Reload(): +# ### Start, restart, stop, reload or force-reload a System-V +# ### style init script. +# eval {Start,Restart,Stop,Reload,Force-Reload}'() { ( +# builtin cd -q / || { echo >&2 "E: Could not chdir to /"; return 1; } +# env -i PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \ +# "/etc/init.d/${1:?}" "${0:l}" +# ) };' +# compctl -g "/etc/init.d/*(:t)" Start Restart Stop Reload Force-Reload + +# ### accessed(), changed(), modified(): +# ### List files which have been changed / modified / accessed +# ### within the last n days, n defaults to 1. +# accessed() { emulate -L zsh; print -l -- *(a-${1:-1}); } +# changed() { emulate -L zsh; print -l -- *(c-${1:-1}); } +# modified() { emulate -L zsh; print -l -- *(m-${1:-1}); } +# ### accessed.(), changed.(), modified.(): +# ### Same as above, but list files whose name starts with +# ### a dot. +# accessed.() { emulate -L zsh; print -l -- .*(a-${1:-1}); } +# changed.() { emulate -L zsh; print -l -- .*(c-${1:-1}); } +# modified.() { emulate -L zsh; print -l -- .*(m-${1:-1}); } + +# ### bk(): Make a backup of a file. +# bk() { +# cp -a "$1" "${1}_$(date --iso-8601=seconds)"; +# } + +# ### cdt(): Create temporary directory and chdir into it. +# cdt() { +# [[ $# -eq 0 ]] || printf 'Usage: %s\n' "$0"; +# builtin cd "$(mktemp -t -d cdt.XXXXXXXXXX)"; +# } + +# ### edalias(): Edit an alias via zle. +# edalias() { +# [[ -z "$1" ]] && { echo "Usage: edalias <alias_to_edit>" ; return 1 } +# vared aliases'[$1]' +# } +# compdef _aliases edalias + +# ### edfunc(): Edit a function via zle. +# edfunc() { +# [[ -z "$1" ]] && { echo "Usage: edfun <function_to_edit>" ; return 1 } +# zed -f "$1" +# } +# compdef _functions edfunc + +# ### md(): Create given directory recursively and chdir into it. +# md() { +# [[ $# -eq 1 ]] || printf 'Usage: %s <directory>\n' "$0"; +# mkdir -p "$1" && builtin cd "$1"; +# } +# compdef md=mkdir + +# ### sll(): List symlinks in detail (more detailed 'readlink -f'). +# sll() { +# [[ -z "$1" ]] && printf 'Usage: %s <file(s)>\n' "$0" && return 1 +# local file +# for file in "$@"; do +# ( +# while [[ -h "$file" ]]; do +# ls -l "$file" +# builtin cd -q "${file:h}" +# file="$(readlink "${file:t}")" +# done +# ls -l "$file" +# ) +# done +# } + +# ### unik(): Print unique lines, input does not need to be sorted. +# unik() { +# perl -ne 'print unless $seen{$_}++' "$@" +# } + + +# ### #####################################################################}}} +# ### Misc: # +# ### ####################################################################{{{1 + +# ### Chdir to ~ if zsh was started in a non-existent directory: +# [[ "$PWD" == . ]] && builtin cd ~ + +# ### Cat ~/dead.letter: +# if [[ -r ~/dead.letter ]]; then +# echo ~/dead.letter: +# cat ~/dead.letter +# echo +# fi +# if [[ "$USERNAME" == root ]] && [[ -r /dead.letter ]]; then +# echo /dead.letter: +# cat /dead.letter +# echo +# fi + +# ### Source ~/.zshrc.local if it exists and is readable: +# [[ -r ~/.zshrc.local ]] && . ~/.zshrc.local || true diff --git a/debian/examples/compctl.dpkg b/debian/examples/compctl.dpkg new file mode 100644 index 000000000..d8c142e28 --- /dev/null +++ b/debian/examples/compctl.dpkg @@ -0,0 +1,92 @@ +############################################################################# +# Dpkg completion control for zsh. +# +# NOTE: Completion for these commands (dpkg, dpkg-source, bug) +# are included # upstream as part of the new completion system. +# Seriously consider using that instead. +# +# Originally by Joey Hess <joey@kite.ml.org>, GPL copyright. +# Contributions and fixes from Karl Hegbloom, Fabien Ninoles, +# Gregor Hoffleit, Csaba Benedek, &c. +# +# Currently doesn't handle correctly: +# Options after -D or --debug. +# --force- and friends,--ignore-depends,--root= and friends. + +# A function to return all available package names. +# This could be done without grep and awk by replacing that line with +# reply=(${${(M)${(f)"$(</var/lib/dpkg/status)"}:#Package:*}#Package: }) +function DpkgPackages { + reply=(`grep '^Package:' /var/lib/dpkg/status | awk '{ print $2 }'`) +} + +# This array lists all the dpkg options and actions. +dpkg_options=(-i --install --unpack --configure -r --remove --purge -A \ +--avail --update-avail --merge-avail --yet-to-unpack -l --list -L \ +--listfiles -C --audit -S --search -s --status --help -c --contents -I \ +--info -B --auto-deconfigure -D --debug --largemem --smallmem --no-act \ +-R --recursive -G -O --selected-only -E -e --control --skip-same-version \ +-x --extract -f --field --fsys-tarfile -X --vextract --licence --version \ +-b --build) + +# This string lists all dpkg actions that operate on *.deb files, +# separated by |'s. There can't be any extra whitespace in it! +dpkg_deb_actions="-i|--install|--unpack|-A|--avail|-c|--contents|-I|--info|-e" +dpkg_deb_actions="$dpkg_deb_actions|--control|-x|--extract|-f|--field" +dpkg_deb_actions="$dpkg_deb_actions|--fsys-tarfile|-X|--vextract|-info" + +# This string lists all dpkg actions that normally operate on *.deb files, +# but can operate on directory names if the --recursive option is given to +# dpkg. +dpkg_deb_rec_actions="-i|--install|--unpack|-A|--avail" + +# This string lists all other dpkg actions that take a directory name as +# their first parameter, and a filename as their second parameter. +dpkg_df_actions="-b|--build" + +# This string lists dpkg actions that take a directory name as +# their second parameter. +dpkg_dir2_actions="-e|--control|-x|--extract|--vextract" + +# This string lists all dpkg actions that take a filename as their first +# parameter (ie, a Packages file). +dpkg_file_actions="-S|--search|--update-avail|--merge-avail" + +# This string lists all dpkg actions that operate on the names of packages +# and can also be used with the --pending option. +dpkg_pkg_pending_actions="--configure|-r|--remove|--purge|-s|--status" + +# This string lists all other dpkg actions that operate on the names of +# packages. +dpkg_pkg_actions="-L|--listfiles|-s|--status|-l|--list" + +# Now the command that puts it all together.. +compctl -k dpkg_options \ + -x "C[-1,$dpkg_deb_rec_actions],R[-R|--recursive,]" -g '*(-/D)' \ + - "C[-1,$dpkg_deb_actions]" -g '*.deb' + -g '*(-/D)' \ + - "C[-1,$dpkg_pkg_pending_actions]" -K DpkgPackages + -k "(-a,--pending)" \ + - "C[-1,$dpkg_pkg_actions]" -K DpkgPackages \ + - "C[-1,$dpkg_file_actions],C[-2,$dpkg_df_actions]" -f \ + - "C[-2,$dpkg_dir2_actions],C[-1,$dpkg_df_actions]" -g '*(-/D)' \ + -- dpkg + +# Also, set up package name completion for bug program. +compctl -K DpkgPackages bug + +# This section by Karl M. Hegbloom + +dpkg_source_options=(-x -b -c -l -F -V -T -D -U \ +-sa -sk -sp -su -sr -ss -sn -sA -sK -sP -sU -sR \ +-h --help) + +compctl -k dpkg_source_options \ + -x "C[-1,-x]" -g '*.dsc' \ + - "C[-1,-b]" -g '*(-/D)' \ + -- dpkg-source + +# Unset the temporary variables. +unset dpkg_deb_actions dpkg_deb_rec_actions dpkg_df_actions \ + dpkg_dir2_actions dpkg_file_actions dpkg_pkg_pending_actions \ + dpkg_pkg_actions # dpkg_source_options dpkg_options + +############################################################################# diff --git a/debian/examples/jhm.zshrc b/debian/examples/jhm.zshrc new file mode 100644 index 000000000..86dacc7eb --- /dev/null +++ b/debian/examples/jhm.zshrc @@ -0,0 +1,516 @@ +# Ray's .zshrc +# Note that completions for dpkg-deb, mutt, mount, and dupload are +# included as part of the new completion system. See docs for details. + +# Zsh settings + +# TODO +# - completions for dpkg-deb +# - completions for lintian +# - completions for dupload +# - completions for nm +# - completions for objdump +# - completions for mount +# - completion for man -l + +bindkey -e # Emacs-style commandline editing + +case "$TERM" in + linux) # Linux console + bindkey '\e[1~' beginning-of-line # Home + bindkey '\e[4~' end-of-line # End + bindkey '\e[3~' delete-char # Del + bindkey '\e[2~' overwrite-mode # Insert +# bindkey '\e[A' up-line-or-history # cursor up +# bindkey '\e[B' down-line-or-history # cursor down +# bindkey '\e[C' forward-char # cursor right +# bindkey '\e[D' backward-char # cursor left + ;; + screen) # The textmode window manager + # In Linux console + bindkey '\e[1~' beginning-of-line # Home + bindkey '\e[4~' end-of-line # End + bindkey '\e[3~' delete-char # Del + bindkey '\e[2~' overwrite-mode # Insert + bindkey '\e[7~' beginning-of-line # home + bindkey '\e[8~' end-of-line # end + # In rxvt + bindkey '\eOc' forward-word # ctrl cursor right + bindkey '\eOd' backward-word # ctrl cursor left + bindkey '\e[3~' backward-delete-char # This should not be necessary! +# bindkey '\e[A' up-line-or-history # cursor up +# bindkey '\e[B' down-line-or-history # cursor down +# bindkey '\e[C' forward-char # cursor right +# bindkey '\e[D' backward-char # cursor left + ;; + rxvt) + bindkey '\e[7~' beginning-of-line # home + bindkey '\e[8~' end-of-line # end + bindkey '\eOc' forward-word # ctrl cursor right + bindkey '\eOd' backward-word # ctrl cursor left + bindkey '\e[3~' backward-delete-char # This should not be necessary! + bindkey '\e[2~' overwrite-mode # Insert + ;; + xterm*) + bindkey '\e[H' beginning-of-line # Home + bindkey '\e[F' end-of-line # End + bindkey '\e[3~' delete-char # Del + bindkey '\e[2~' overwrite-mode # Insert + ;; + sun) + bindkey '\e[214z' beginning-of-line # Home + bindkey '\e[220z' end-of-line # End + bindkey '^J' delete-char # Del + bindkey '^H' backward-delete-char # Backspace + bindkey '\e[247z' overwrite-mode # Insert + ;; +esac + +#if test "X$TERM" = "Xscreen" || test "X$TERM" = "Xlinux"; then +# bindkey '\e[A' up-line-or-history # cursor up +# bindkey '\e[B' down-line-or-history # cursor down +# bindkey '\e[C' forward-char # cursor right +# bindkey '\e[D' backward-char # cursor left +#fi +# +#if test "X$TERM" = "Xscreen" || test "X$TERM" = "Xrxvt"; then +# bindkey '\e[7~' beginning-of-line # home +# bindkey '\e[8~' end-of-line # end +# bindkey '\eOc' forward-word # ctrl cursor right +# bindkey '\eOd' backward-word # ctrl cursor left +# bindkey '\e[3~' backward-delete-char # This should not be necessary! +#fi + +export DEBEMAIL=jhm@cistron.nl +export IRCNICK=JHM +export IRCSERVER=irc.nl.openprojects.org +eval `lesspipe` + +alias glimpse='glimpse -z -i -w' + +# All functions used for defining completion rules start with `c_'. +setopt extendedglob # required for some of our completion magic +setopt list_types # Put a file type indicator after file names when + # completing. +setopt correct # Attempt spelling correction on command names only. +setopt print_exit_value +setopt list_ambiguous +setopt bash_auto_list # Make <tab><tab> do the right thing. +setopt list_packed # Compacter display of completion list. +setopt interactive_comments +setopt nohup # So backgrounded jobs don't get terminated when + # the shell is. + +# A sensible prompt: +# hostname username(underlined) time pwd(bold; max 30 chars.) > or # +if test "X$TERM" = "Xscreen"; then + # include a hint that screen(1) can use to set window titles. + PROMPT='%m %U%n%u %T %B%30<..<%~%b %{[0000mk\%}%(!.#.>) ' +else + # We don't include the hint outside screen, as it causes problems + # with xterm + PROMPT='%m %U%n%u %T %B%30<..<%~%b %(!.#.>) ' +fi + +c_groups=( $(cut -d: -f1 /etc/group) ) + +############################################################################ +# Shell builtins + +compctl -k '( )' pushln +compctl -z -P '%' bg +compctl -j -P '%' fg jobs disown +compctl -j -P '%' + -s '`ps -x | tail +2 | cut -c1-5`' wait + +compctl -A shift +compctl -caF type whence which +compctl -c unhash +compctl -F functions unfunction +compctl -x 'w[1,-d] p[2]' -n - 'w[1,-d] p[3]' -g '*(-/)' - \ + 'p[1]' -c - 'p[2]' -g '*(-x)' -- hash +compctl -a unalias +compctl -v getln getopts read unset vared +compctl -v -S '=' -q declare export integer local readonly typeset +compctl -e disable +compctl -d enable + +eval compctl -k "'("`limit | cut -d\ -f1`")'" limit unlimit + +compctl -l '' -x 'p[1]' -f -- . source +compctl -s '`unsetopt`' setopt +# Redirection below makes zsh silent when completing unsetopt xtrace +compctl -s '`setopt 2> /dev/null`' unsetopt +compctl -s '${^fpath}/*(N:t)' autoload + +compctl -b bindkey +compctl -c -x 'C[-1,-*k]' -A - 'C[-1,-*K]' -F -- compctl +compctl -x 'C[-1,-*e]' -c - 'C[-1,-[ARWI]##]' -f -- fc +compctl -x 'p[1]' - 'p[2,-1]' -l '' -- sched +compctl -x 'C[-1,[+-]o]' -o - 'c[-1,-A]' -A -- set + +# Anything after nohup is a command by itself with its own completion +compctl -l '' nohup exec nice eval sudo fakeroot +compctl -x 'p[1]' -c - 'p[2,-1]' -k signals -- trap +compctl -l '' -x 'p[1]' -B -- builtin + +# kill takes signal names as the first argument after -, but job names after % +# or PIDs as a last resort +compctl -j -P '%' + -s '`ps -x | tail +2 | cut -c1-5`' + \ + -x 's[-] p[1]' -k "($signals[1,-3])" -- kill + + +############################################################################ +# Basic commands and file manipulation commands + +compctl -k '( )' pwd +compctl -g '*(/)' cd +compctl -g '^*.(c|cc|C|cxx|cpp|h|in|l|y|tex)' rm +compctl -g '*(/)' rmdir +compctl -g '*.Z' + -g '*(/)' znew +compctl -s '$(groups)' + -k groups newgrp +compctl -f -x 'p[1], p[2] C[-1,-*]' -k groups -- chgrp +compctl -f -x 'p[1] n[-1,.], p[2] C[-1,-*] n[-1,.]' -k groups \ + - 'p[1], p[2] C[-1,-*]' -u -S '.' -- chown + +# GNU ls, dir: complete files, options (both - and -- kind), and option params. +compctl -f \ + -x s'[--format]' -P '=' -k '(long verbose commas horizontal across vertical si +ngle-column)' \ + - s'[--sort]' -P '=' -k '(none time size extension)' \ + - s'[--time]' -P '=' -k '(atime ctime access use status)' \ + - s'[--width=][--tabsize=][--ignore=][-w][-T][-I],c[-1,-w][-1,-T][-1,-I]' \ + -k '( )' \ + - s'[--]' -S '' -k '(all\ escape\ directory\ inode\ kilobytes\ numeric-uid-gid\ no-group\ hide-control-chars\ reverse\ size\ width= tabsize= almost-all\ ignore-backups\ classify\ file-type\ full-time\ ignore= dereference\ literal\ quote-name\ dired\ no-color\ 7bit\ 8bit\ recursive\ sort= format= time= no-group\ help\ version\ )' \ + - s'[-]' -k '(a b c d f g i k l m n o p q r s t u x A B C F G L N Q R S U X 1 +w T I)' \ + -- ls dir + + +# Debian tar: viewing/extracting gzipped/compressed/bzip2ed/normal tar archives. +compctl -f -x \ + 'C[-1,*[xt]*f*z*] p[2]' -g '*.tar.gz *.tar.Z *.tgz' + -g '*(/)' - \ + 'C[-1,*[xt]*f*I*] p[2]' -g '*.tar.bz *.tar.bz2 *.tbz' + -g '*(/)' - \ + 'C[-1,*[xt]*f*] p[2]' -g '*.tar' -- \ + + -g '*(/)' tar + +## tar: complete tar files (only .tar or .tar.* format) after -f, disable +## completion for certain options, let user choose directory with -C, +## complete GNU tar long options beginning with --. The match-taropts +## function prompts for GNU tar options, ensures one of the seven +## mandatory options is given in the first argument to tar, and enforces +## spaces after options that take an argument (this is required by GNU +## tar and also makes filename completion possible for the -f option). +## Note that the -[0-7][lmh] options are not completed, but they're +## hardly ever used. +#compctl -f \ +# -x 'C[-1,-*f],p[2] C[-1,*f],c[-1,--file]' -g '*.tar(|.*)' + -g '*(-/)' \ +# - 'C[-1,-*[bLN]],p[2] C[-1,*[bLN]],c[-1,--block-size][-1,tape-length][-1,--after-date][-1,--newer]' -k '( )' \ +# - 'C[-1,-*C],p[2] C[-1,*C],c[-1,directory]' -g '*(-/)' \ +# - 'C[-1,-*[FgKTV]],p[2] C[-1,*[FgKTV]],c[-1,--info-script][-1,--new-volume-script][-1,--starting-file][-1,--files-from][-1,--label][-1,--exclude]' -f \ +# - 's[--]' -k '(catenate concatenate create diff compare delete append list update extract get atime-preserve block-size read-full-blocks directory checkpoint file force-local info-script new-volume-script incremental dereference ignore-zeros ignore-failed-read keep-old-files starting-file one-file-system tape-length modification-time multi-volume after-date newer old-archive portability to-stdout same-permissions preserve-permissions absolute-paths preserve record-number remove-files same-order preserve-order same-owner sparse files-from null totals verbose label version interactive confirmation verify exclude exclude-from compress uncompress gzip ungzip use-compress-program block-compress)' \ +# - 's[-],p[1]' -S '' -K 'match-taropts' \ +# -- tar + +# GNU find. +# Note that 'r[-exec,;]' must come first. +# We hardwire the filesystem types rather than use /proc/filesystems, in order +# not to exclude filesystems that are supported through modules that are +# currently not loaded. +compctl -x 'r[-exec,;][-ok,;]' -l '' - \ +'s[-]' -s 'daystart {max,min,}depth follow noleaf version xdev mount \ + {a,c,}newer {a,c,m}{min,time} empty false {fs,x,}type {u,g}id inum \ + links {i,}{l,}name {no,}{user,group} {i,}path perm {i,}regex size \ + true used exec {f,}print{f,0,} ok prune {f,}ls or not and' - \ +'p[1]' -g '. .. *(-/)' - \ +'C[-1,-((a|c|)newer|fprint(|0|f))]' -f - \ +'c[-1,-fstype]' -k '(ext2 fat iso9660 minix nfs vfat)' - \ +'c[-1,-type]' -k '(b c d p f l s)' -X '[b]lock dev, [c]har dev, [d]ir, named [p]ipe, regular [f]ile, [s]ocket' - \ +'c[-1,-size]' -k '(1234c 567k)' -X '512-byte [b]locks, [c] bytes, [k]ilobytes, 2-byte [w]ords' - \ +'c[-1,-group]' -k c_groups - \ +'c[-1,-user]' -u -- find + + +############################################################################ +# Commands that are usually used on non-generated files. + +compctl -g '*.gz *.Z *.bz2' \ + + -g '*.web *.docbook' \ + + -g '*.c *.cc *.C *.cxx *.cpp *.h *.tex *.txt *.html' \ + + -g '^*.(o|a|so|aux|dvi|log|swp|fig|bbl|blg|bst|idx|ind|out|toc)' \ + + -g '.*' \ + + -g '*(/)' vi vim gvim less grep zgrep + +############################################################################ +# Mail +# TODO: mutt + +############################################################################ +# Document processing + +compctl -g '*.tex' + -g '*(/)' tex +compctl -g '*.tex *.ltx' + -g '*(/)' {latex,pdflatex} +compctl -g '*.texi' + -g '*(/)' texi2{dvi,pdf,html} + +function c_bibtex { + reply=(`ls *.aux | sed -e 's/\.aux//'`); +} +compctl -K c_bibtex bibtex + + +############################################################################ +# Viewers, editors etc. + +compctl -g '*.gz *.Z' + -g '*(/)' zcat gunzip gzcat zless +compctl -g '*.bz *.bz2' + -g '*(/)' bzcat bz2cat bunzip2 +compctl -g '*.ps *.ps.gz *.pdf *.pdf.gz *.eps *.eps.gz' + -g '*(/)' gv +compctl -g '*.(e|)ps' + -g '*(-/)' gs ghostview ps2ascii ps2text psnup ps2pdf +compctl -g '*.pdf' + -g '*(/)' acroread xpdf +compctl -g '*.dvi *.dvi.gz' + -g '*(/)' xdvi +compctl -g '*.dvi' + -g '*(/)' dvi2fax dvidvi dvilj dvilj4 dvips dvitomp \ + dvicopydvihp dvilj2p dvilj4l dvired dvitype +compctl -g '*.html' + -g '*.htm' + -g '*(/)' w3m lynx mozilla netscape +compctl -g '*.zip' + -g '*(/)' unzip +compctl -g '*.fig' + -g '*(/)' xfig +compctl -g '*.rtf' + -g '*(/)' Ted +compctl -g '*.web' + -g '*(/)' tangle weave ftangle fweave ctangle cweave ctanglex cweavex + +# man: complete commands, otherwise complete by search of $MANPATH. +# This is placed as an all-encompassing pattern at the end because making it +# the default before the -x doesn't work. (It becomes +# '-c + (-K 'match-man' -x ...), not (-c + -K 'match-man') -x ...). +# We also complete paths for -M (override manpath), commands for -P (pager) and +# disable for -S (search sections). After an explicit number (which it helps +# to complete for you), these completion rules assume a thorough search is +# needed and no longer use the '-c' hashed commands, relying entirely on +# what's really in the manpath. +# Also support -l <file> and -T<device> +c_man_var() { + man_pages=( /usr/share/man/man*/*(N:t:r) /usr/man/man*/*(N:t:r) ) + compctl -k man_pages man + reply=( $man_pages ) +} +compctl -x 'S[1][2][3][4][5][6][7][8][9]' -k '(1 2 3 4 5 6 7 8 9)' \ + - 'R[[1-9nlo]|[1-9](|[a-z]),^*]' -K 'match-man' \ + - 's[-M],c[-1,-M]' -g '*(-/)' \ + - 's[-P],c[-1,-P]' -c \ + - 's[-S],s[-1,-S]' -k '( )' \ + - 's[-l],c[-1,-l]' -g '*.[0-9] *.man' \ + - 's[-T]' -k '(X100 X75 ascii latin1 ps X100-12 X75-12 dvi lj4)' \ + - 's[-]' -k '(a d f h k t M P l)' \ + - 'p[1,-1]' -c + -K 'c_man_var' \ + -- man + +function c_enscript_langs { +# languages and file formats for which enscript supports pretty-printing + reply=(`enscript --help-pretty-print | grep '^Name:' | sed -e 's/Name: //'`) +} +compctl -g '*' + -g '*(/)' -x s'[-E][--pretty-print]' -P '=' -K c_enscript_langs \ + - s'[--]' -S '' -k '(columns= pages= file-align= header= no-header\ truncate-lines\ line-numbers\ setpagedevice= escapes\ pretty-print\ pretty-print= font= header-font= fancy-header\ no-job-header\ highlight-bars= indent= filter= borders\ page-prefeed\ no-page-prefeed\ lineprinter\ lines-per-page= mail\ media= copies= newline= missing-characters\ output= printer= quiet\ silent\ landscape\ portrait\ baselineskip= statusdict= title= tabsize= underlay\ nup= verbose\ version\ language= encoding= no-formfeed\ pass-through\ ps-level= rotate-even-pages\ toc\ word-wrap\ )' \ + -- enscript + +############################################################################ +# Networking + +function c_lftp_bookmarks { +# extract the names of bookmarks from the lftp bookmarks file. + reply=(`cut -c '1-17' ~/.lftp/bookmarks \ + | sed -e 's/[^a-zA-Z0-9\-]//g' `); +} +compctl -K c_lftp_bookmarks lftp + +function c_ssh_knownhosts { +# extract the hosts which are known to ssh. + reply=(`sed -e 's/ .*$//' \ + -e 's/,[0-9]\{3\}\..*//' ~/.ssh/known_hosts`); +} +#compctl -K c_ssh_knownhosts ssh + +# Complete the current word with files after a `:', with ssh +# hosts after a `@', and with hosts or files (in that order) +# at the start of a word. +compctl -x 'n[0,:]' -f - 'n[0,@],s[]' -K c_ssh_knownhosts -S: + -f -- \ + scp + +# This completes `ssh [username@]host remotecommand'. +# TODO: how do we get the -X working? +compctl -x \ + 'C[-1,*@*]' -X '<Remote command>' - \ + 'n[0,@],s[]' -K c_ssh_knownhosts \ + -- ssh +#compctl -K c_ssh_knownhosts -x 'c[-1,-l]' -k '()' -X 'Remote user name' -- slogin +#compctl -x 'n[0,@],s[]' -K c_ssh_knownhosts - \ +# 'c[-1,-l]' -k '()' -X 'Remote user name' - \ +# 'C[-1,*@*]' -k '(kiekeboe)' -- ssh + +## As above, but do 'ssh [host] [-l user] [command]' where +## <command> is a separate command line (i.e., to be executed +## via ssh as <user> on <host>). +#compctl -x 'p[1], p[2] C[-1,-*]' -K c_ssh_knownhosts \ +# - 'c[-1,-l]' -K userlist -- \ +# + -x 'w[2,-l] p[4,-1],p[2,-1]' -l '' -- ssh + + +############################################################################ +# Program development + +# strip, profile, and debug only executables. The compctls for the +# debuggers could be better, of course. +compctl -g '*(*)' strip gprof gdb ddd + +# GCC completion, based on Andrew Main's; updated for gcc 2.95.2 . +# completes to filenames (*.c, *.C, *.o, etc.); to miscellaneous options after +# a -; to various -f options after -f (and similarly -W, -g and -m); and to a +# couple of other things at different points. +# The -m completion should be tailored to each system; the one below is i386. +compctl -g '*.([cCmisSoa]|cc|cxx|cpp|ii)' -x \ + 's[-l]' -s '${(s.:.)^LD_LIBRARY_PATH}/lib*.a(:t:r:s/lib//)' - \ + 'c[-1,-x]' -k '(none c objective-c c-header c++ cpp-output assembler ass +embler-with-cpp)' - \ + 'c[-1,-o]' -f - \ + 'C[-1,-i(nclude|macros)]' -g '*.h' - \ + 'C[-1,-i(dirafter|prefix)]' -g '*(-/)' - \ + 's[-B][-I][-L]' -g '*(-/)' - \ + 's[-fno-],s[-f]' -k '(lang-isoc9x + allow-single-precision cond-mismatch asm + builtin freestanding hosted signed-bitfields signed-char + unsigned-bitfields unsigned-char writable-strings + access-control check-new conserve-space dollars-in-identifiers + elide-constructors external-templates for-scope gnu-keywords + guiding-decls handle-signatures honor-std huge-objects + implicit-templates init-priority implement-inlines + name-mangling-version-N default-inline operator-names optional-diags + permissive repo strict-prototype squangle template-depth-N + this-is-variable vtable-chunks + syntax-only + all-virtual dollars-in-identifiers elide-constructors enum-int-equiv + memoize-lookups nonnull-objects + dump-unnumbered pretend-float profile-arcs test-coverage + branch-probabilities optimize-register-moves caller-saves + cse-follow-jumps cse-skip-blocks delayed-branch + expensive-optimizations fast-math float-store force-addr force-mem + data-sections function-sections gcse inline-functions inline-limit-3 + keep-inline-functions default-inline defer-pop function-cse inline + peephole omit-frame-pointer regmove rerun-cse-after-loop + rerun-loop-opt schedule-insns schedule-insns2 strength-reduce + thread-jumps unroll-all-loops unroll-loops move-all-movables + reduce-all-givs strict-aliasing + call-saved- call-used- exceptions fixed- inhibit-size-directive + check-memory-usage prefix-function-name common ident gnu-linker + pcc-struct-return pic PIC reg-struct-return shared-data short-enums + short-double volatile volatile-global volatile-static verbose-asm + pack-struct stack-check argument-alias argument-noalias + argument-noalias-global leading-underscore)' - \ + 's[-g]' -k '(gdb stabs stabs+ coff xcoff xcoff+ dwarf dwarf+ + dwarf-2)' - \ + 's[-mno-][-mno][-m]' -k '(486 ieee-fp no-fancy-math-387 fp-ret-in-387 + soft-float svr3-shlib no-wide-multiply rtd align-double align-jumps= + align-loops= align-functions= preferred-stack-boundary=)' - \ + 's[-Wno-][-W]' -k '( + all aggregate-return bad-function-cast cast-align cast-qual + char-subscripts comment conversion error format id-clash-8 + implicit implicit-int implicit-function-declaration import + error-implicit-function-declaration inline larger-than-64 + long-long main missing-declarations missing-noreturn + missing-prototypes multichar nested-externs import parentheses + pointer-arith redundant-decls return-type shadow sign-compare + strict-prototypes switch traditional trigraphs undef uninitialized + unused write-strings unknown-pragmas + template-debugging + ctor-dtor-privacy deprecated effc++ non-template-friend + non-virtual-dtor old-style-cast overloaded-virtual pmf-conversions + reorder sign-promo synth)' - \ + 's[-]' -k '(pipe ansi traditional traditional-cpp trigraphs pedantic + pedantic-errors nostartfiles nostdlib static shared symbolic include + imacros idirafter iprefix iwithprefix nostdinc nostdinc++ undef + print-file-name= print-libgcc-file-name print-prog-name= + -print-search-dirs -save-temps)' \ + -X 'Use "-f", "-g", "-m" or "-W" for more options' -- gcc g++ + +compctl -x 's[--]' -S '' -k '(verbose\ prefix= exec-prefix= help\ build= host= + norecursion\ program-prefix= program-suffix= program-transform-name= + site= srcdir= target= tmpdir= with- without- enable- disable- )' -- \ + ./configure + +compctl -g '*(/)' \ + -x 's[-]' -P '-' -k '( + sign clearsign detachsign encrypt symmetric store decrypt verify + listkeys listsigs checksigs fingerprint listsecretkeys genkey + deletekey editkey genrevoke export import listpackets + armor localuser remoteuser textmode output verbose batch yes + no keyring secretkeyring defaultkey options debug debugall + statusfd nocomment completesneeded marginalsneeded + loadextension rfc1991 s2kmode s2kdigestalgo s2kcipheralgo + cipheralgo digestalgo compressalgo throwkeyid)' -- gpg + +# procps +# ps +# uptime +compctl -x 'p[1]' -k '(-V)' -- uptime +compctl -x 'p[1]' -k '(-V)' + -k '(-s -d)' -- tload + + +############################################################################ +# Administrative commands + +compctl -u -x 'w[2,-c] p[3,-1]' -l '' - \ + 's[--]' -s 'fast help login preserve-environment shell version' -- su + +#if type rpm >/dev/null; then +#function pkg_glob () { +# if [[ ${REDHAT_PACKAGES:-0} = 0 ]]; then +# export REDHAT_PACKAGES="`rpm -qa`" +# fi +# reply=(${=REDHAT_PACKAGES}) +#} +#function refreshpkgcache () { +# export REDHAT_PACKAGES="`rpm -qa`" +#} +#compctl -f -x \ +# 'c[-1,--root]' -g '*(/)' - \ +# 'W[1,-(-install|i*)] s[--]' -k (hash percent force test replacepkgs replacefiles search root) - \ +# 'W[1,-(-upgrade|u*)] s[--]' -k (hash percent force test search oldpackage root) - \ +# 'C[-1,--(install|upgrade)] s[-],p[1] s[-i],p[1] s[-U]' -X "(h)ash (v)erbose" - \ +# 'W[1,-(-erase|e|-verify|V|y)] s[--]' -k (root) - \ +# 'W[1,-(-erase|e)]' -K pkg_glob - \ +# 'w[1,--query] s[-],p[1] s[-q],p[1] s[-V],p[1] s[-y]' -X \ +#"(a)ll (f)ile+ (F)ile-stdin (p)kg+ (P)kg-Stdin \ +#(i)nfo (l)ist-of-files (s)tates-of-files (d)ocumentation (c)onfiguration" - \ +# 'w[1,--verify] s[-],p[1] s[-V],p[1] s[-y]' -X \ +#"(a)ll (f)ile+ (F)ile-stdin (p)kg+ (P)kg-Stdin" - \ +# 'W[1,-(-verify|-query|q*|V*|y*)] C[-1,*f]' -f - \ +# 'W[1,-(-verify|-query|q*|V*|y*)] C[-1,*p*]' -g '*(D-/) *.rpm(N)' - \ +# 'W[1,-(-verify|-query|q*|V*|y*)]' -K pkg_glob - \ +# 'W[1,--(where|checksig)]' -K pkg_glob - \ +# 'W[1,--rebuild] s[-]' -k (v) - \ +# 'p[1] s[-b]' -X "(p)rep (l)ist (c)ompile (i)install (b)inary (a)ll" - \ +# 'p[2] C[-1,-b*] s[--]' -k (short-circuit clean sign keep-temps test time-check) - \ +# 's[--]' -k (help version install upgrade query verify erase rebuild where checksig) - \ +# 's[-]' -k (- i U q V e b) - \ +# 'c[-1,rpm]' -X "$(rpm)" -- rpm +#fi #if rpm exists + + +compctl -k '(if of conv ibs obs bs cbs files skip file seek count)' \ + -S '=' -x 's[if=], s[of=]' -f - 'C[0,conv=*,*] n[-1,,], s[conv=]' \ + -k '(ascii ebcdic ibm block unblock lcase ucase swap noerror sync)' \ + -q -S ',' - 'n[-1,=]' -X '' -- dd + + +############################################################################ +# Debian specific +source "/usr/share/doc/zsh/examples/compctl.dpkg" + +compctl -x 'c[-1,-x]' -g '*.dsc' + -g '*(/)' - \ + 'c[-1,-b]' -g '*(/)' -- dpkg-source +compctl -g '*.deb' + -g '*(/)' lintian +compctl -g '*.changes' + -g '*(/)' dupload + +#compctl \ +# -x 'p[1]s[--]' \ +# -k '(setup-lab remove-lab check check-part unpack remove \ +# help verbose version debug)' -- \ +# + -x 's[--]' -k '(help verbose version debug)' -- \ +# + -g '*.deb' + -g '*(/)' \ +# lintian + + diff --git a/debian/examples/ssh_completion b/debian/examples/ssh_completion new file mode 100644 index 000000000..53e61d193 --- /dev/null +++ b/debian/examples/ssh_completion @@ -0,0 +1,66 @@ +NOTE: In order for this to work with newer versions of ssh, you must +insure that "HashKnownHosts" is set to "no". + +This will set the variable $hosts to an array containing +all the hosts in ~/.ssh/known_hosts and ~/.ssh/known_hosts2 +that do not start with a digit. + +hosts=(${${${${(f)"$(<$HOME/.ssh/known_hosts <$HOME/.ssh/known_hosts2)"}:#[0-9]*}%%\ *}%%,*}) + +This will set the variable $hosts to an array containing +all the hosts in ~/.ssh/known_hosts that do not start with +a digit. + +hosts=(${${${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[0-9]*}%%\ *}%%,*}) + +If you are using the new completion system, you can then place + +zstyle ':completion:*:hosts' hosts $hosts + +after compinit is autoloaded to use those anywhere hosts would be +completed, or + +zstyle ':completion:*:complete:ssh:*:hosts' hosts $hosts + +to use those hosts to complete only ssh. + +An explanation of the $hosts assignment, written by Peter Stephenson, +follows. + +$(<$HOME/.ssh/known_hosts) + +is a standard substitution: it simply takes the file and sticks it onto the +command line at that point. + +"$(<$HOME/.ssh/known_hosts)" + +Now it's quoted, it doesn't do word splitting; we have the complete file as +one word. From now on, we do nested substitutions: you just have to +remember that ${${...}}, or ${${...}}, essentially does nothing but an +ordinary parameter expansion --- the whole point is the extra bits tacked +on with each extra set of braces. For example, we're now going to do + +${(f)"$(<$HOME/.ssh/known_hosts)"} + +so we get the same answer, but with the effect of putting the (f) flag at +the start, which splits the result of that into lines. So we now have the +entire file as an array, one line per element. + +${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[0-9]*} +(Clint says the ^ shouldn't be there) says take the array elements (= lines +of the original file) which completely match [0-9]*, i.e. elements +beginning with a digit, and remove them, which is what ${...:#...} is for. + +${${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[0-9]*}%%\ *} + +takes the result of that, and strips off from the end the largest pattern +matching ' *', i.e. a space followed by anything else, in other words it +leaves the largest initial string with no whitespace, which is a hostname +(this is a standard ${...%%...} which even ordinary shells do, although not +nested). + +${${${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[0-9]*}%%\ *}%%,*} + +does another strip at the end, this time for everything from the first +comma on. If there wasn't a comma, nothing changes. You could have +combined the last two as ${...%%[[:blank:],]*}, or something. diff --git a/debian/examples/ssh_completion2 b/debian/examples/ssh_completion2 new file mode 100644 index 000000000..7c6fcb20e --- /dev/null +++ b/debian/examples/ssh_completion2 @@ -0,0 +1,37 @@ +NOTE: In order for this to work with newer versions of ssh, you must +insure that "HashKnownHosts" is set to "no". + +This is what I would call overkill, but it should help illustrate +what some people like to do with ssh completion. +---------- + +zstyle ':completion:*' format 'Completing %d' +zstyle ':completion:*' group-name '' + +zstyle ':completion:*:scp:*' tag-order \ + 'hosts:-host hosts:-domain:domain hosts:-ipaddr:IP\ address *' +zstyle ':completion:*:scp:*' group-order \ + users files all-files hosts-domain hosts-host hosts-ipaddr +zstyle ':completion:*:ssh:*' tag-order \ + users 'hosts:-host hosts:-domain:domain hosts:-ipaddr:IP\ address *' +zstyle ':completion:*:ssh:*' group-order \ + hosts-domain hosts-host users hosts-ipaddr + +zstyle ':completion:*:(ssh|scp):*:hosts-host' ignored-patterns \ + '*.*' loopback localhost +zstyle ':completion:*:(ssh|scp):*:hosts-domain' ignored-patterns \ + '<->.<->.<->.<->' '^*.*' '*@*' +zstyle ':completion:*:(ssh|scp):*:hosts-ipaddr' ignored-patterns \ + '^<->.<->.<->.<->' '127.0.0.<->' +zstyle ':completion:*:(ssh|scp):*:users' ignored-patterns \ + adm bin daemon halt lp named shutdown sync + +zstyle -e ':completion:*:(ssh|scp):*' hosts 'reply=( + ${=${${(f)"$(cat {/etc/ssh_,~/.ssh/known_}hosts(|2)(N) \ + /dev/null)"}%%[# ]*}//,/ } + ${=${(f)"$(cat /etc/hosts(|)(N) <<(ypcat hosts 2>/dev/null))"}%%\#*} + )' + +zstyle ':completion:*:(ssh|scp):*:my-accounts' users-hosts \ + my.secret.account@student.uu.se + diff --git a/debian/menu b/debian/menu new file mode 100644 index 000000000..274e4da90 --- /dev/null +++ b/debian/menu @@ -0,0 +1 @@ +?package(zsh):needs="text" section="Applications/Shells" title="Zsh" command="/bin/zsh4" diff --git a/debian/newuser.zshrc.recommended b/debian/newuser.zshrc.recommended new file mode 100644 index 000000000..55be3ab0c --- /dev/null +++ b/debian/newuser.zshrc.recommended @@ -0,0 +1,37 @@ +# Set up the prompt + +autoload -Uz promptinit +promptinit +prompt adam1 + +setopt histignorealldups sharehistory + +# Use emacs keybindings even if our EDITOR is set to vi +bindkey -e + +# Keep 1000 lines of history within the shell and save it to ~/.zsh_history: +HISTSIZE=1000 +SAVEHIST=1000 +HISTFILE=~/.zsh_history + +# Use modern completion system +autoload -Uz compinit +compinit + +zstyle ':completion:*' auto-description 'specify: %d' +zstyle ':completion:*' completer _expand _complete _correct _approximate +zstyle ':completion:*' format 'Completing %d' +zstyle ':completion:*' group-name '' +zstyle ':completion:*' menu select=2 +eval "$(dircolors -b)" +zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} +zstyle ':completion:*' list-colors '' +zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s +zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=* l:|=*' +zstyle ':completion:*' menu select=long +zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s +zstyle ':completion:*' use-compctl false +zstyle ':completion:*' verbose true + +zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31' +zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd' diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 000000000..b78543b1b --- /dev/null +++ b/debian/postinst @@ -0,0 +1,33 @@ +#!/bin/sh -e + +case "$1" in + (configure) +# if test -z "$2"; then + add-shell /bin/zsh + add-shell /usr/bin/zsh +# fi + ;; + (abort-upgrade|abort-remove|abort-deconfigure) + exit 0 + ;; + (*) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +if test -x /usr/bin/update-menus ; then update-menus ; fi + +update-alternatives --remove zsh /usr/bin/zsh +update-alternatives --install /bin/zsh zsh /bin/zsh4 50 \ + --slave /usr/bin/zsh zsh-usrbin /bin/zsh4 +update-alternatives --install /bin/rzsh rzsh /bin/zsh4 50 \ + --slave /usr/share/man/man1/rzsh.1.gz rzsh.1.gz /usr/share/man/man1/zsh.1.gz +update-alternatives --install /bin/ksh ksh /bin/zsh4 5 \ + --slave /usr/bin/ksh usr.bin.ksh /bin/zsh4 \ + --slave /usr/share/man/man1/ksh.1.gz ksh.1.gz /usr/share/man/man1/zsh.1.gz + +mkdir -m2775 -p /usr/local/share/zsh/site-functions && chown root:staff \ + /usr/local/share/zsh/site-functions || true + +exit 0 diff --git a/debian/postrm b/debian/postrm new file mode 100644 index 000000000..3ef3d2d38 --- /dev/null +++ b/debian/postrm @@ -0,0 +1,10 @@ +#!/bin/sh -e + +if test -x /usr/bin/update-menus ; then update-menus ; fi + +case "$1" in + (remove) + remove-shell /bin/zsh + remove-shell /usr/bin/zsh + ;; +esac diff --git a/debian/prerm b/debian/prerm new file mode 100644 index 000000000..76064add2 --- /dev/null +++ b/debian/prerm @@ -0,0 +1,23 @@ +#!/bin/sh -e + +case "$1" in + (remove|deconfigure) + update-alternatives --remove zsh /bin/zsh4 + update-alternatives --remove rzsh /bin/zsh4 + update-alternatives --remove ksh /bin/zsh4 + rmdir /usr/local/share/zsh/site-functions || true + rmdir /usr/local/share/zsh || true + ;; + (upgrade) + ;; + + (failed-upgrade) + ;; + + (*) + echo "prerm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +exit 0 diff --git a/debian/rules b/debian/rules new file mode 100755 index 000000000..d0b0edd86 --- /dev/null +++ b/debian/rules @@ -0,0 +1,376 @@ +#!/usr/bin/make -f +INSTALL = install +INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644 +INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755 +INSTALL_SCRIPT = $(INSTALL) -p -o root -g root -m 755 +INSTALL_DIR = $(INSTALL) -p -d -o root -g root -m 755 + +package=zsh +ifeq (zsh-beta,$(package)) +snapshot_date := $(shell dpkg-parsechangelog | sed -n '/^Version: [0-9.][0-9.]*.*+20[0-9][0-9]\([0-9][0-9][0-9][0-9]\)-[0-9][0-9]*$$/ {s//\1/;p}') +endif + +CFLAGS = -Wall -g +ifeq (zsh-beta,$(package)) +CFLAGS += -W +endif + +CONFIGFLAGS = --prefix=/usr --mandir=/usr/share/man --bindir=/bin LDFLAGS="-Wl,--as-needed -g" + +ifeq (zsh-beta,$(package)) +CONFIGFLAGS += --program-suffix=-beta +endif + +CONFIGFLAGS += --infodir=/usr/share/info --enable-maildir-support +CONFIGFLAGS += --enable-max-jobtable-size=256 --enable-etcdir=/etc/$(package) +CONFIGFLAGS += --enable-function-subdirs +CONFIGFLAGS += --enable-site-fndir=/usr/local/share/$(package)/site-functions +CONFIGFLAGS += --enable-fndir=/usr/share/$(package)/functions +CONFIGFLAGS += --with-tcsetpgrp --with-term-lib="ncursesw" +CONFIGFLAGS += --enable-cap --enable-pcre +CONFIGFLAGS += --enable-readnullcmd=pager +CONFIGFLAGS += --enable-custom-patchlevel=Debian + +STATICFLAGS = --disable-dynamic --enable-ldflags=-static +ifneq (zsh-beta,$(package)) +STATICFLAGS += --disable-dynamic-nss +endif + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) +CONFIGFLAGS += --enable-zsh-debug --enable-zsh-mem-debug --enable-zsh-mem-warning --enable-zsh-secure-free --enable-zsh-hash-debug +endif + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +CFLAGS += -O0 +else +CFLAGS += -O2 +endif + +ifeq (zsh-beta,$(package)) +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) +INSTALL_PROGRAM += -s +endif +endif + +build: stamp-configure + $(checkdir) +ifeq (zsh-beta,$(package)) + touch stamp-h.in +endif + + cd obj && $(MAKE) + + -cd obj && HOME="$(CURDIR)/obj/testhome" $(MAKE) check + +ifeq (zsh,$(package)) + cd obj && $(MAKE) pdf +endif + + touch build + +build-static: stamp-configure-static + $(checkdir) + cd obj-static && $(MAKE) + + touch build-static + +build-debug: DEB_BUILD_OPTIONS+=debug +build-debug: build + +stamp-configure: + $(checkdir) +ifneq (zsh-beta,$(package)) + touch stamp-h.in configure +else + chmod 755 configure +endif + mkdir -p obj/testhome +ifeq (zsh-beta,$(package)) + test -f Config/version.mk.orig || cp Config/version.mk Config/version.mk.orig + sed -i -e 's/^VERSION=\([^+]*\)$$/VERSION=\1-cvs$(snapshot_date)/' Config/version.mk +endif + cd obj && CFLAGS='$(CFLAGS)' ../configure $(CONFIGFLAGS) + touch stamp-configure + +stamp-configure-static: + $(checkdir) + mkdir obj-static + cd obj-static && CFLAGS='$(CFLAGS)' ../configure $(CONFIGFLAGS) $(STATICFLAGS) +# cp debian/static.conf obj-static/Src/mymods.conf + sed -i -e 's/files.mdd link=no/files.mdd link=static/;s/stat.mdd link=no/stat.mdd link=static/' obj-static/config.modules + touch stamp-configure-static + +clean: + $(checkdir) +ifeq (zsh-beta,$(package)) + test ! -f Config/version.mk.orig || mv Config/version.mk.orig Config/version.mk +endif + -rm -f build build-static + if test -d obj && cd obj && test -f Makefile; then $(MAKE) distclean; fi + if test -d obj-static && cd obj-static && test -f Makefile; then $(MAKE) distclean; fi +ifneq (zsh-beta,$(package)) + test ! -f Makefile || $(MAKE) distclean +endif + -rm -f `find . -name "*~"` \ + debian/files* core debian/*ubstvars \ + stamp-configure stamp-configure-static \ + config.cache config.status config.status.lineno \ + Doc/zsh.idx config.h.in~ + -rm -rf debian/tmp debian/tmp-doc debian/tmp-static debian/tmp-dbg \ + debian/tmp-dev config.cache obj obj-static \ + autom4te.cache + +binary-indep: checkroot build + $(checkdir) + -rm -rf debian/tmp-doc + $(INSTALL_DIR) debian/tmp-doc + cd debian/tmp-doc && $(INSTALL_DIR) usr/share/doc-base \ + usr/share/info \ + usr/share/doc/$(package)-doc/html \ + DEBIAN + + -cd obj && $(MAKE) install.info DESTDIR=$(CURDIR)/debian/tmp-doc + rm -f debian/tmp-doc/usr/share/info/dir* + gzip -9frq debian/tmp-doc/usr/share/info/* + cd obj && $(MAKE) install.html DESTDIR=$(CURDIR)/debian/tmp-doc htmldir=/usr/share/doc/$(package)-doc/html +# Work around texi2html unfriendliness + sed -i -e 's/<BODY.*>/<BODY LANG="EN">/' debian/tmp-doc/usr/share/doc/$(package)-doc/html/*.html + +ifeq (zsh,$(package)) + $(INSTALL_FILE) obj/Doc/zsh.pdf debian/tmp-doc/usr/share/doc/$(package)-doc/ +endif + + $(INSTALL_FILE) debian/copyright debian/tmp-doc/usr/share/doc/$(package)-doc/copyright + $(INSTALL_FILE) debian/changelog debian/tmp-doc/usr/share/doc/$(package)-doc/changelog.Debian + gzip -9frq debian/tmp-doc/usr/share/doc/$(package)-doc/changelog.Debian + $(INSTALL_FILE) debian/$(package).doc-base debian/tmp-doc/usr/share/doc-base/$(package) + cd debian/tmp-doc && find * -type f ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > DEBIAN/md5sums + + dpkg-gencontrol -isp -p$(package)-doc -Pdebian/tmp-doc + chown -R root.root debian/tmp-doc + chmod -R go=rX debian/tmp-doc + dpkg --build debian/tmp-doc .. + +ifneq (zsh-beta,$(package)) +binary-arch: binary-arch-dynamic binary-arch-static binary-arch-dev +else +binary-arch: binary-arch-dynamic +endif +binary-arch-dynamic: checkroot build + $(checkdir) + + -rm -rf debian/tmp debian/tmp-dbg + $(INSTALL_DIR) debian/tmp debian/tmp-dbg/usr/lib/debug/bin debian/tmp-dbg/DEBIAN + cd debian/tmp && $(INSTALL_DIR) etc/$(package) \ + bin \ + usr/lib/$(package) \ + usr/share/menu \ + usr/share/man \ + usr/share/$(package)/help \ + usr/share/doc/$(package)/examples/Functions \ + usr/share/doc/$(package)/examples/Misc \ + usr/share/doc/$(package)/examples/old \ + DEBIAN + + cd obj && $(MAKE) install.man DESTDIR=$(CURDIR)/debian/tmp + nroff -mandoc -Tascii Doc/zshbuiltins.1 | colcrt - | \ + sed -e 's//{+|-}/' | ( cd debian/tmp/usr/share/$(package)/help && \ + perl $(CURDIR)/Util/helpfiles ) + +ifeq (zsh-beta,$(package)) + sed -r -i -e \ + 's/zsh(all|builtins|compctl|compsys|compwid|contrib|expn|misc|modules|options|param|roadmap|tcpsys|zftpsys|zle|calsys)/$(package)\1/g' \ + debian/tmp/usr/share/man/man1/*.1 +endif + +# functions + $(INSTALL_FILE) -m 644 Misc/* debian/tmp/usr/share/doc/$(package)/examples/Misc/. + $(INSTALL_FILE) -m 644 Functions/Example/* debian/tmp/usr/share/doc/$(package)/examples/Functions/. + sed -i -e '1!b;s:^#!.*[ /]zsh:#!/bin/$(package):;s#/usr/local/bin#/usr/bin#' \ + debian/tmp/usr/share/doc/$(package)/examples/Misc/* + $(INSTALL_FILE) StartupFiles/* debian/tmp/usr/share/doc/$(package)/examples/. + $(INSTALL_FILE) Util/reporter debian/tmp/usr/share/doc/$(package)/examples/. + + $(INSTALL_FILE) debian/examples/ssh_completion \ + debian/examples/ssh_completion2 \ + debian/examples/carstenh.zshrc \ + debian/tmp/usr/share/doc/$(package)/examples/. +ifneq (zsh-beta,$(package)) + $(INSTALL_FILE) debian/examples/compctl.dpkg debian/examples/jhm.zshrc debian/tmp/usr/share/doc/$(package)/examples/old/. +endif + + cd obj && $(MAKE) install.bin DESTDIR=$(CURDIR)/debian/tmp INSTALL_PROGRAM='$(INSTALL_PROGRAM)' + cd obj && $(MAKE) install.modules DESTDIR=$(CURDIR)/debian/tmp INSTALL_PROGRAM='$(INSTALL_PROGRAM)' + cd obj && $(MAKE) install.fns DESTDIR=$(CURDIR)/debian/tmp + + rm -r debian/tmp/usr/local + +# move this to a non-root section; also drop it for cross-compiles + awk '/^#define FPATH_DIR/ { head=$$3; gsub(/"/,"",head); }; /^#define FPATH_SUBDIRS/ { $$1=""; $$2=""; gsub(/[" ]/,""); tail=$$0; } END { printf "%s/%s\n", head, tail; };' obj/Src/zshpaths.h >obj/Src/zshpaths.temp + debian/tmp/bin/$(package) -fc 'setopt extendedglob; for i in debian/tmp/'`cat obj/Src/zshpaths.temp`'; do zcompile -U -M $$i.zwc $$i/*~*.zwc(^/) ; chmod 644 $$i.zwc ; done' + +ifneq (zsh-beta,$(package)) + mv debian/tmp/bin/zsh debian/tmp/bin/zsh4 + rm debian/tmp/bin/zsh-4.[0-9]* + ln -s zsh.1.gz debian/tmp/usr/share/man/man1/zsh4.1.gz + + for i in `find debian/tmp/usr/lib/zsh -type d | sed 's#^debian/tmp/##'`; \ + do mkdir -p debian/tmp-dbg/usr/lib/debug/"$$i"; done + + objcopy --only-keep-debug debian/tmp/bin/zsh4 \ + debian/tmp-dbg/usr/lib/debug/bin/zsh4.dbg + strip --remove-section=.comment --remove-section=.note debian/tmp/bin/zsh4 + objcopy --add-gnu-debuglink=debian/tmp-dbg/usr/lib/debug/bin/zsh4.dbg debian/tmp/bin/zsh4 + + for i in `find debian/tmp/usr/lib/zsh -name "*.so"`; \ + do objcopy --only-keep-debug $$i debian/tmp-dbg/usr/lib/debug/`echo $$i | sed 's#^debian/tmp/##'`.debug; \ + strip --remove-section=.comment --remove-section=.note \ + --strip-unneeded $$i; \ + objcopy --add-gnu-debuglink=debian/tmp-dbg/usr/lib/debug/`echo $$i | sed 's#^debian/tmp/##'`.debug $$i; \ + done +else + rm debian/tmp/bin/zsh-beta-* +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + strip --remove-section=.comment --remove-section=.note debian/tmp/bin/zsh-beta + strip --remove-section=.comment --remove-section=.note \ + --strip-unneeded `find debian/tmp/usr/lib/zsh-beta -name "*.so"` +endif +endif + + $(INSTALL_DIR) debian/tmp-dbg/usr/share/doc + ln -s zsh debian/tmp-dbg/usr/share/doc/$(package)-dbg + + $(INSTALL_FILE) debian/zlogin debian/zlogout debian/zprofile debian/zshenv debian/zshrc debian/newuser.zshrc.recommended debian/tmp/etc/$(package)/. + sed -i -e 's,^local HELPDIR=.*,local HELPDIR=$${HELPDIR:-/usr/share/$(package)/help},;s,:-more,:-/usr/bin/pager,;' debian/tmp/usr/share/$(package)/functions/Misc/run-help + + sed -i -e '1!b;s:^#!.*[ /]zsh:#!/bin/$(package):;s#/usr/local/bin#/usr/bin#;' `find debian/tmp/usr/share/$(package)/functions -type f` + chmod 755 debian/tmp/usr/share/$(package)/functions/Misc/checkmail \ + debian/tmp/usr/share/$(package)/functions/Misc/harden \ + debian/tmp/usr/share/$(package)/functions/Misc/run-help \ + debian/tmp/usr/share/$(package)/functions/Misc/zkbd \ + debian/tmp/usr/share/$(package)/functions/Misc/zcalc \ + + $(INSTALL_FILE) Etc/ChangeLog* README META-FAQ Doc/zsh.texi Etc/BUGS Etc/CONTRIBUTORS Etc/FAQ FEATURES \ + Etc/FTP-README MACHINES NEWS Etc/TODO Etc/completion-style-guide Etc/zsh-development-guide Functions/README.zftp debian/tmp/usr/share/doc/$(package)/ + $(INSTALL_FILE) ChangeLog debian/tmp/usr/share/doc/$(package)/changelog + chmod -R u+rw,go=rX debian/tmp/usr/share/doc + $(INSTALL_FILE) debian/copyright debian/tmp/usr/share/doc/$(package)/copyright + + $(INSTALL_FILE) debian/changelog debian/tmp/usr/share/doc/$(package)/changelog.Debian +ifeq (zsh-beta,$(package)) + $(INSTALL_FILE) debian/NEWS debian/tmp/usr/share/doc/$(package)/NEWS.Debian +endif + + $(INSTALL_FILE) debian/README.Debian debian/tmp/usr/share/doc/$(package)/README.Debian + + $(INSTALL_FILE) debian/menu debian/tmp/usr/share/menu/$(package) + + chmod 644 `find debian/tmp/usr/share/man -type f` `find debian/tmp/usr/share/doc -type f` + chmod 644 `find debian/tmp/usr/lib/$(package) -type f -name "*.so"` + chmod 644 `find debian/tmp/usr/share/$(package) -type f -name "_*"` + gzip -9f `find debian/tmp/usr/share/man -type f` `find debian/tmp/usr/share/doc -type f ! -name "copyright"` + dpkg-shlibdeps -Tdebian/substvars -dDepends debian/tmp/bin/* -dRecommends debian/tmp/usr/lib/$(package)/*/zsh/*.so + dpkg-gencontrol -ldebian/changelog -isp -p$(package) -Tdebian/substvars -Pdebian/tmp +ifneq (zsh-beta,$(package)) + cd debian/tmp-dbg && find * -type f ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > DEBIAN/md5sums + dpkg-gencontrol -ldebian/changelog -isp -p$(package)-dbg -Tdebian/substvars -Pdebian/tmp-dbg +endif + + $(INSTALL_SCRIPT) debian/postinst debian/tmp/DEBIAN/postinst + $(INSTALL_SCRIPT) debian/postrm debian/tmp/DEBIAN/postrm + $(INSTALL_SCRIPT) debian/prerm debian/tmp/DEBIAN/prerm + $(INSTALL_FILE) debian/conffiles debian/tmp/DEBIAN/conffiles + + cd debian/tmp && find * -type f ! -path "etc/$(package)/zlogin" ! -path "etc/$(package)/zlogout" ! -path "etc/$(package)/zprofile" ! -path "etc/$(package)/zshenv" ! -path "etc/$(package)/zshrc" ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > DEBIAN/md5sums + +ifneq (zsh-beta,$(package)) + chown -R root:root debian/tmp debian/tmp-dbg + chmod -R go=rX debian/tmp debian/tmp-dbg +else + chown -R root:root debian/tmp + chmod -R go=rX debian/tmp +endif + + dpkg --build debian/tmp .. +ifneq (zsh-beta,$(package)) + dpkg --build debian/tmp-dbg .. +endif + +define checkdir + test -f debian/rules +endef + +binary-arch-static: checkroot build-static + $(checkdir) + + -rm -rf debian/tmp-static + $(INSTALL_DIR) debian/tmp-static/usr/share/man/man1/ + cd debian/tmp-static && $(INSTALL_DIR) bin \ + usr/share/doc/$(package)-static \ + DEBIAN + + $(INSTALL_SCRIPT) debian/static.prerm debian/tmp-static/DEBIAN/prerm + $(INSTALL_SCRIPT) debian/static.postinst debian/tmp-static/DEBIAN/postinst + $(INSTALL_SCRIPT) debian/static.postrm debian/tmp-static/DEBIAN/postrm + + $(INSTALL_FILE) debian/changelog debian/tmp-static/usr/share/doc/$(package)-static/changelog.Debian + + awk 'BEGIN { print "The following modules are statically-compiled into the static $(package) binary:\n"; } /link=static/ { printf "%s (%s %s)\n", substr($$1,6), $$4, $$5; }' obj-static/config.modules >debian/tmp-static/usr/share/doc/$(package)-static/README.Debian + + $(INSTALL_FILE) debian/copyright debian/tmp-static/usr/share/doc/$(package)-static/copyright + + $(INSTALL_PROGRAM) obj-static/Src/zsh debian/tmp-static/bin/zsh4-static + strip --remove-section=.comment --remove-section=.note debian/tmp-static/bin/zsh4-static + + gzip -9f debian/tmp-static/usr/share/doc/$(package)-static/changelog.Debian + cd debian/tmp-static && find * -type f ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > DEBIAN/md5sums + ln -s $(package).1.gz debian/tmp-static/usr/share/man/man1/zsh4-static.1.gz + +ifneq (zsh-beta,$(package)) + dpkg-shlibdeps -Tdebian/$(package)-static.substvars -dDepends debian/tmp-static/bin/* +endif + dpkg-gencontrol -ldebian/changelog -isp -p$(package)-static -Tdebian/$(package)-static.substvars -Pdebian/tmp-static + chown -R root.root debian/tmp-static + chmod -R go=rX debian/tmp-static + dpkg --build debian/tmp-static .. + +binary-arch-dev: checkroot build + $(INSTALL_DIR) debian/tmp-dev/usr/include/$(package) \ + debian/tmp-dev/usr/share/$(package)-dev \ + debian/tmp-dev/usr/share/doc/$(package)-dev \ + debian/tmp-dev/usr/share/aclocal \ + debian/tmp-dev/DEBIAN + $(INSTALL_FILE) obj/Src/*.epro obj/Src/sigcount.h \ + Src/hashtable.h Src/prototypes.h \ + Src/signals.h Src/system.h Src/zsh.h Src/ztype.h \ + debian/tmp-dev/usr/include/$(package) + $(INSTALL_FILE) Src/makepro.awk debian/tmp-dev/usr/share/$(package)-dev + $(INSTALL_FILE) Config/aczshoot.m4 debian/tmp-dev/usr/share/aclocal/$(package)oot.m4 + $(INSTALL_FILE) debian/changelog debian/tmp-dev/usr/share/doc/$(package)-dev/changelog.Debian + $(INSTALL_FILE) debian/copyright debian/tmp-dev/usr/share/doc/$(package)-dev/ + gzip -9f debian/tmp-dev/usr/share/doc/$(package)-dev/changelog.Debian + + cd debian/tmp-dev && find * -type f ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > DEBIAN/md5sums + dpkg-gencontrol -ldebian/changelog -isp -p$(package)-dev -Tdebian/$(package)-dev.substvars -Pdebian/tmp-dev + chown -R root.root debian/tmp-dev + chmod -R go=rX debian/tmp-dev + dpkg --build debian/tmp-dev .. + +ifneq (zsh-beta,$(package)) +binary: binary-indep binary-arch binary-arch-static binary-arch-dev +else +binary: binary-indep binary-arch +endif + +prebuild: + Util/preconfig + ./configure + make -C Doc + make distclean + rm -rf autom4te.cache + +checkroot: + $(checkdir) + test root = "`whoami`" + +.PHONY: binary binary-arch binary-indep clean checkroot binary-arch-dynamic binary-arch-static prebuild binary-arch-dev diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/static.postinst b/debian/static.postinst new file mode 100644 index 000000000..180da9ba5 --- /dev/null +++ b/debian/static.postinst @@ -0,0 +1,22 @@ +#!/bin/sh -e + +case "$1" in + (configure) +# if test -z "$2"; then + add-shell /bin/zsh-static +# fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + exit 0 + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +update-alternatives --install /bin/zsh-static zsh-static /bin/zsh4-static 40 + +exit 0 diff --git a/debian/static.postrm b/debian/static.postrm new file mode 100644 index 000000000..0ca3c8aed --- /dev/null +++ b/debian/static.postrm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +case "$1" in + (remove) + remove-shell /bin/zsh-static + ;; +esac diff --git a/debian/static.prerm b/debian/static.prerm new file mode 100644 index 000000000..f54abb6dd --- /dev/null +++ b/debian/static.prerm @@ -0,0 +1,17 @@ +#!/bin/sh -e + +case "$1" in + remove|deconfigure) + update-alternatives --remove zsh-static /bin/zsh4-static + ;; + upgrade) + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac diff --git a/debian/watch b/debian/watch new file mode 100644 index 000000000..ef00341de --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 + +ftp://ftp.zsh.org/pub/zsh-([\d.]+)\.tar\.gz diff --git a/debian/zlogin b/debian/zlogin new file mode 100644 index 000000000..f6cd2f23d --- /dev/null +++ b/debian/zlogin @@ -0,0 +1,9 @@ +# /etc/zsh/zlogin: system-wide .zlogin file for zsh(1). +# +# This file is sourced only for login shells. It +# should contain commands that should be executed only +# in login shells. It should be used to set the terminal +# type and run a series of external commands (fortune, +# msgs, from, etc.) +# +# Global Order: zshenv, zprofile, zshrc, zlogin diff --git a/debian/zlogout b/debian/zlogout new file mode 100644 index 000000000..22d842fe4 --- /dev/null +++ b/debian/zlogout @@ -0,0 +1 @@ +# /etc/zsh/zlogout: system-wide .zlogout file for zsh(1). diff --git a/debian/zprofile b/debian/zprofile new file mode 100644 index 000000000..09db6f5cc --- /dev/null +++ b/debian/zprofile @@ -0,0 +1,7 @@ +# /etc/zsh/zprofile: system-wide .zprofile file for zsh(1). +# +# This file is sourced only for login shells (i.e. shells +# invoked with "-" as the first character of argv[0], and +# shells invoked with the -l flag.) +# +# Global Order: zshenv, zprofile, zshrc, zlogin diff --git a/debian/zsh.doc-base b/debian/zsh.doc-base new file mode 100644 index 000000000..232ec9182 --- /dev/null +++ b/debian/zsh.doc-base @@ -0,0 +1,19 @@ +Document: zsh +Title: Z Shell Manual +Author: Z-Shell workers +Abstract: This guide documents Zsh, a freely available UNIX command + interpreter (shell), which of the standard shells most closely + resembles the Korn shell (ksh), although it is not completely + compatible. +Section: Shells + +Format: info +Index: /usr/share/info/zsh.info.gz +Files: /usr/share/info/zsh.info* + +Format: HTML +Index: /usr/share/doc/zsh-doc/html/zsh_toc.html +Files: /usr/share/doc/zsh-doc/html/*.html + +Format: PDF +Files: /usr/share/doc/zsh-doc/zsh.pdf diff --git a/debian/zshenv b/debian/zshenv new file mode 100644 index 000000000..e2613c3cf --- /dev/null +++ b/debian/zshenv @@ -0,0 +1,18 @@ +# /etc/zsh/zshenv: system-wide .zshenv file for zsh(1). +# +# This file is sourced on all invocations of the shell. +# If the -f flag is present or if the NO_RCS option is +# set within this file, all other initialization files +# are skipped. +# +# This file should contain commands to set the command +# search path, plus other important environment variables. +# This file should not contain commands that produce +# output or assume the shell is attached to a tty. +# +# Global Order: zshenv, zprofile, zshrc, zlogin + +if [[ -z "$PATH" || "$PATH" == "/bin:/usr/bin" ]] +then + export PATH="/usr/local/bin:/usr/bin:/bin:/usr/games" +fi diff --git a/debian/zshrc b/debian/zshrc new file mode 100644 index 000000000..9aed9340d --- /dev/null +++ b/debian/zshrc @@ -0,0 +1,43 @@ +# /etc/zsh/zshrc: system-wide .zshrc file for zsh(1). +# +# This file is sourced only for interactive shells. It +# should contain commands to set up aliases, functions, +# options, key bindings, etc. +# +# Global Order: zshenv, zprofile, zshrc, zlogin + +READNULLCMD=${PAGER:-/usr/bin/pager} + +if [[ "$TERM" != emacs ]]; then +[[ -z "$terminfo[kdch1]" ]] || bindkey -M emacs "$terminfo[kdch1]" delete-char +[[ -z "$terminfo[khome]" ]] || bindkey -M emacs "$terminfo[khome]" beginning-of-line +[[ -z "$terminfo[kend]" ]] || bindkey -M emacs "$terminfo[kend]" end-of-line +[[ -z "$terminfo[kich1]" ]] || bindkey -M emacs "$terminfo[kich1]" overwrite-mode +[[ -z "$terminfo[kdch1]" ]] || bindkey -M vicmd "$terminfo[kdch1]" vi-delete-char +[[ -z "$terminfo[khome]" ]] || bindkey -M vicmd "$terminfo[khome]" vi-beginning-of-line +[[ -z "$terminfo[kend]" ]] || bindkey -M vicmd "$terminfo[kend]" vi-end-of-line +[[ -z "$terminfo[kich1]" ]] || bindkey -M vicmd "$terminfo[kich1]" overwrite-mode + +[[ -z "$terminfo[cuu1]" ]] || bindkey -M viins "$terminfo[cuu1]" vi-up-line-or-history +[[ -z "$terminfo[cuf1]" ]] || bindkey -M viins "$terminfo[cuf1]" vi-forward-char +[[ -z "$terminfo[kcuu1]" ]] || bindkey -M viins "$terminfo[kcuu1]" vi-up-line-or-history +[[ -z "$terminfo[kcud1]" ]] || bindkey -M viins "$terminfo[kcud1]" vi-down-line-or-history +[[ -z "$terminfo[kcuf1]" ]] || bindkey -M viins "$terminfo[kcuf1]" vi-forward-char +[[ -z "$terminfo[kcub1]" ]] || bindkey -M viins "$terminfo[kcub1]" vi-backward-char + +# ncurses fogyatekos +[[ "$terminfo[kcuu1]" == "O"* ]] && bindkey -M viins "${terminfo[kcuu1]/O/[}" vi-up-line-or-history +[[ "$terminfo[kcud1]" == "O"* ]] && bindkey -M viins "${terminfo[kcud1]/O/[}" vi-down-line-or-history +[[ "$terminfo[kcuf1]" == "O"* ]] && bindkey -M viins "${terminfo[kcuf1]/O/[}" vi-forward-char +[[ "$terminfo[kcub1]" == "O"* ]] && bindkey -M viins "${terminfo[kcub1]/O/[}" vi-backward-char +[[ "$terminfo[khome]" == "O"* ]] && bindkey -M viins "${terminfo[khome]/O/[}" beginning-of-line +[[ "$terminfo[kend]" == "O"* ]] && bindkey -M viins "${terminfo[kend]/O/[}" end-of-line +[[ "$terminfo[khome]" == "O"* ]] && bindkey -M emacs "${terminfo[khome]/O/[}" beginning-of-line +[[ "$terminfo[kend]" == "O"* ]] && bindkey -M emacs "${terminfo[kend]/O/[}" end-of-line +fi + +zstyle ':completion:*:sudo:*' command-path /usr/local/sbin /usr/local/bin \ + /usr/sbin /usr/bin /sbin /bin /usr/X11R6/bin + +unalias run-help +autoload run-help |