diffstat of debian/ for zsh_5.4.2-3 zsh_5.4.2-3ubuntu3.1 changelog | 481 +++++++++++++++++++++++++ clean | 1 control | 4 patches/CVE-2018-0502-and-CVE-2018-13259.patch | 121 ++++++ patches/CVE-2018-1071.patch | 38 + patches/CVE-2018-1083.patch | 38 + patches/CVE-2018-1100.patch | 53 ++ patches/CVE-2018-7548.patch | 37 + patches/CVE-2018-7549.patch | 45 ++ patches/cross-compile.diff | 64 +++ patches/series | 7 rules | 4 zshrc | 8 13 files changed, 900 insertions(+), 1 deletion(-) diff -Nru zsh-5.4.2/debian/changelog zsh-5.4.2/debian/changelog --- zsh-5.4.2/debian/changelog 2017-12-30 06:25:44.000000000 +0000 +++ zsh-5.4.2/debian/changelog 2018-09-10 20:02:52.000000000 +0000 @@ -1,3 +1,54 @@ +zsh (5.4.2-3ubuntu3.1) bionic-security; urgency=medium + + * SECURITY UPDATE: Arbitrary code execution + - debian/patches/CVE-2018-0502-and-CVE-2018-13259.patch: + fix in Src/exec.c and add test Test/A05execution.ztst. + - CVE-2018-0502 + - CVE-2018-13259 + * SECURITY UPDATE: Stack-based buffer overflow + - debian/patches/CVE-2018-1100.patch: fix int Src/utils.c. + - CVE-2018-1100 + + -- Leonidas S. Barbosa Mon, 10 Sep 2018 17:02:52 -0300 + +zsh (5.4.2-3ubuntu3) bionic; urgency=medium + + * SECURITY UPDATE: stack-based buffer overflow + - debian/patches/CVE-2018-1071.patch: check bounds when + copying patch in hashcmd() in Src/exec.c, Src/utils.c. + - CVE-2018-1071 + * SECURITY UPDATE: buffer-overflow + - debian/patches/CVE-2018-1083.patch: check bounds on PATH_MAX + buffer in Src/Zle/compctl.c. + - CVE-2018-1083 + + -- Leonidas S. Barbosa Fri, 06 Apr 2018 12:01:55 -0300 + +zsh (5.4.2-3ubuntu2) bionic; urgency=medium + + * SECURITY UPDATE: NULL deference + - debian/patches/CVE-2018-7548.patch: avoid null-pointer + deref in Src/subst.c. + - CVE-2018-7548 + * SECURITY UPDATE: Crash while copy an empty hash table + - debian/patches/CVE-2018-7549.patch: avoid crash empty + hash table in Src/params.c. + - CVE-2018-7549 + + -- Leonidas S. Barbosa Fri, 09 Mar 2018 05:31:57 -0300 + +zsh (5.4.2-3ubuntu1) bionic; urgency=low + + * Merge from Debian unstable. Remaining changes: + - debian/zshrc: Enable completions by default, unless skip_global_compinit + is set. + - Support cross-compiling: + - Adjust upstream autoconf cross-compile default fallbacks. + - Skip zcompile when cross-compiling. + - Add libelf-dev dependency. + + -- Julian Andres Klode Fri, 19 Jan 2018 10:11:06 +0100 + zsh (5.4.2-3) unstable; urgency=low * debian/rules: @@ -166,6 +217,12 @@ -- Axel Beckert Sun, 04 Dec 2016 21:35:22 +0100 +zsh (5.2-5ubuntu1) yakkety; urgency=medium + + * Merge with Debian; remaining changes: + + -- Matthias Klose Tue, 23 Aug 2016 12:35:26 +0200 + zsh (5.2-5) unstable; urgency=low * [f368b96e] Also remove hardcoded /usr/bin/zsh symlink in postrm @@ -226,6 +283,23 @@ -- Axel Beckert Mon, 01 Feb 2016 00:42:02 +0100 +zsh (5.2-3ubuntu1) yakkety; urgency=medium + + * Merge with Debian; remaining changes: + - debian/zshrc: Enable completions by default, unless skip_global_compinit + is set. + - Support cross-compiling: + - Adjust upstream autoconf cross-compile default fallbacks. + - Skip zcompile when cross-compiling. + - Add libelf-dev dependency. + - Add libncurses5-dev build-dep to avoid tgoto implicit function + declaration and thus, implicit integer to pointer conversion. zsh + should build with just ncursesw though. + - Use dh_autotools-dev_update|restoreconfig in addition to + dh_autoreconf to actually update config.sub|guess. + + -- Matthias Klose Wed, 27 Apr 2016 10:24:13 +0200 + zsh (5.2-3) unstable; urgency=medium [ Axel Beckert ] @@ -276,6 +350,59 @@ -- Axel Beckert Thu, 26 Nov 2015 22:17:06 +0100 +zsh (5.1.1-1ubuntu2) xenial; urgency=medium + + * No-change rebuild for ncurses6 transition. + + -- Matthias Klose Sun, 07 Feb 2016 12:49:08 +0000 + +zsh (5.1.1-1ubuntu1) wily; urgency=medium + + * Merge with Debian; remaining changes: + - debian/zshrc: Enable completions by default, unless skip_global_compinit + is set. + - Drop yodl from Build-Depends. + - Support cross-compiling: + - Adjust upstream autoconf cross-compile default fallbacks. + - Skip zcompile when cross-compiling. + - Add libelf-dev dependency. + - Add libncurses5-dev build-dep to avoid tgoto implicit function + declaration and thus, implicit integer to pointer conversion. zsh + should build with just ncursesw though. + - Use dh_autotools-dev_update|restoreconfig in addition to + dh_autoreconf to actually update config.sub|guess. + - prebuild docs. + + -- Matthias Klose Fri, 02 Oct 2015 14:19:33 +0200 + +zsh (5.2-1) unstable; urgency=low + + * [2a9cd3d2] New upstream release. + + Upload to unstable again. + + -- Axel Beckert Thu, 03 Dec 2015 00:44:25 +0100 + +zsh (5.1.1-test-3-1) experimental; urgency=low + + * [86bb6a7e] New upstream release candidate + * [e6d23bf3] debian/{watch,upstream/signing-key.asc}: Verify upstream + GPG signatures + + -- Axel Beckert Mon, 30 Nov 2015 04:04:13 +0100 + +zsh (5.1.1-test-2-3-g2bab9f0-1) experimental; urgency=low + + * [b3541722] New upstream pre-release snapshot (git commit 2bab9f03) + * [58f4d1d1] Make list of packages which provide code for .zshrc more + readable and sort it + * [1637291a] Update list of packages which provide code for .zshrc + * [e439a99f] Remove debian/copyright stanza for systemd completion, no + more included upstream + * [bb897996] get-orig-source target: Support git snapshots between + tagged releases + + -- Axel Beckert Thu, 26 Nov 2015 22:17:06 +0100 + zsh (5.1.1-1) unstable; urgency=low * [7534dfa8] New upstream release @@ -396,6 +523,25 @@ -- Axel Beckert Wed, 29 Apr 2015 01:18:02 +0200 +zsh (5.0.7-5ubuntu1) vivid; urgency=medium + + * Merge from Debian unstable, remaining changes: + - debian/zshrc: Enable completions by default, unless + skip_global_compinit is set + - Drop yodl from Build-Depends. + - Support cross-compiling: + - Adjust upstream autoconf cross-compile default fallbacks. + - Skip zcompile when cross-compiling. + - Add libelf-dev dependency. + - Add libncurses5-dev build-dep to avoid tgoto implicit function + declaration and thus, implicit integer to pointer conversion. zsh + should build with just ncursesw though. + - Use dh_autotools-dev_update|restoreconfig in addition to + dh_autoreconf to actually update config.sub|guess. + - prebuild docs. + + -- Dimitri John Ledkov Sat, 06 Dec 2014 18:32:18 +0000 + zsh (5.0.7-5) unstable; urgency=medium * [ab70e9dc] Pre-Depend on dpkg >= 1.17.14 explicitly for using @@ -561,6 +707,32 @@ -- Axel Beckert Wed, 13 Aug 2014 01:46:31 +0200 +zsh (5.0.5-4ubuntu1) utopic; urgency=medium + + * Merge from Debian unstable, remaining changes: + - debian/zshrc: Enable completions by default, unless + skip_global_compinit is set + - Drop yodl from Build-Depends. + - Support cross-compiling: + - Adjust upstream autoconf cross-compile default fallbacks. + - Skip zcompile when cross-compiling. + - Add libelf-dev dependency. + - Add libncurses5-dev build-dep to avoid tgoto implicit function + declaration and thus, implicit integer to pointer conversion. zsh + should build with just ncursesw though. + - Use dh_autotools-dev_update|restoreconfig in addition to + dh_autoreconf to actually update config.sub|guess. + + * Adjust prebuild target to prebuild missing docs locally with yodl + installed, and dpkg-source --commit the results into + prebuild-docs.patch. Adjust source/options to not ignore doc changes & + manpages. Adjust debian/clean to not purge prebuild manpages. Revert + debian/rules to Debian, thus installing & build remaining pdf/texinfo + documentation at build time. This should resolve partially missing + documentation bug LP: #1242108. + + -- Dimitri John Ledkov Mon, 07 Jul 2014 13:34:04 +0100 + zsh (5.0.5-4) unstable; urgency=medium * [5cebe890] Fix output file descriptor of bug script. reportbug @@ -712,6 +884,50 @@ -- Axel Beckert Fri, 20 Sep 2013 01:06:11 +0200 +zsh (5.0.2-3ubuntu6) saucy; urgency=low + + * Use dh_autotools-dev_update|restoreconfig in addition to dh_autoreconf + to actually update config.sub|guess. + + -- Dmitrijs Ledkovs Thu, 10 Oct 2013 15:14:19 +0100 + +zsh (5.0.2-3ubuntu5) saucy; urgency=low + + * Add libncurses5-dev build-dep to avoid tgoto implicit function + declaration and thus, implicit integer to pointer conversion. zsh + should build with just ncursesw though. + + -- Dmitrijs Ledkovs Sun, 04 Aug 2013 21:31:39 +0100 + +zsh (5.0.2-3ubuntu4) saucy; urgency=low + + * Add patch to fix implicit pointer conversion. + + -- Dmitrijs Ledkovs Sun, 04 Aug 2013 20:35:18 +0100 + +zsh (5.0.2-3ubuntu3) saucy; urgency=low + + * Make failed tests not fail the build. Expected failures. + + -- Dmitrijs Ledkovs Sun, 04 Aug 2013 19:49:34 +0100 + +zsh (5.0.2-3ubuntu2) saucy; urgency=low + + * Merge from Debian experimental, remaining changes: + - debian/zshrc: Enable completions by default, unless + skip_global_compinit is set + - Keep using the upstream tarball that contains pre-generated docs as + yodl is required to build them but the MIR hasn't been approved. + - Drop yodl from Build-Depends. + - Support cross-compiling: + - Adjust upstream autoconf cross-compile default fallbacks. + - Skip zcompile when cross-compiling. + - Add libelf-dev dependency. + + Add doc tarball component + + Drop patches that modify docs, add patch to skip building docs. + + -- Dmitrijs Ledkovs Fri, 02 Aug 2013 17:51:51 +0100 + zsh (5.0.2-3) unstable; urgency=low * Upload to unstable again. @@ -834,6 +1050,34 @@ -- Axel Beckert Fri, 21 Dec 2012 01:54:50 +0100 +zsh (5.0.0-2ubuntu3) raring; urgency=low + + * Support cross-compiling: + - Pass --host to configure, when cross-compiling. + - Use target strip & objcopy. + - Adjust upstream autoconf cross-compile default fallbacks. + - Skip zcompile when cross-compiling. + - Add libelf-dev dependency. + + -- Dmitrijs Ledkovs Thu, 20 Dec 2012 12:30:38 +0000 + +zsh (5.0.0-2ubuntu2) raring; urgency=low + + * debian/zshrc: Fix typo (.zprofice → .zprofile) (LP: #1038298) + + -- Logan Rosen Fri, 19 Oct 2012 11:35:45 -0400 + +zsh (5.0.0-2ubuntu1) quantal; urgency=low + + * Merge from Debian experimental, remaining changes: + - debian/zshrc: Enable completions by default, unless + skip_global_compinit is set + - Keep using the upstream tarball that contains pre-generated docs as + yodl is required to build them but the MIR hasn't been approved. + - Drop yodl from Build-Depends. + + -- Adam Conrad Sun, 16 Sep 2012 02:23:12 -0600 + zsh (5.0.0-2) experimental; urgency=low [ Michael Prokop ] @@ -849,6 +1093,17 @@ -- Axel Beckert Wed, 08 Aug 2012 19:59:25 +0200 +zsh (5.0.0-1ubuntu1) quantal; urgency=low + + * Merge from Debian experimental (LP: #1029337), remaining changes: + - debian/zshrc: Enable completions by default, unless + skip_global_compinit is set + - Keep using the upstream tarball that contains pre-generated docs as + yodl is required to build them but the MIR hasn't been approved. + - Drop yodl from Build-Depends. + + -- Felix Geyer Thu, 26 Jul 2012 11:11:21 +0200 + zsh (5.0.0-1) experimental; urgency=low * New upstream release @@ -875,6 +1130,17 @@ -- Axel Beckert Wed, 25 Jul 2012 20:53:12 +0200 +zsh (4.3.17-1ubuntu1) precise; urgency=low + + * Merge from Debian unstable, remaining changes: + - debian/zshrc: Enable completions by default, unless + skip_global_compinit is set + - Keep using the upstream tarball that contains pre-generated docs as + yodl is required to build them but the MIR hasn't been approved. + - Drop yodl from Build-Depends. + + -- Felix Geyer Tue, 13 Mar 2012 12:00:05 +0100 + zsh (4.3.17-1) unstable; urgency=low * New upstream release @@ -1014,6 +1280,28 @@ -- Frank Terbeck Wed, 02 Mar 2011 18:57:37 +0100 +zsh (4.3.11-4ubuntu2.is.3ubuntu2) oneiric; urgency=low + + * Add "tinfo" to --with-term-lib flag. (LP: #841489) + Ubuntu striped out libtinfo* package from ncurses. + + -- Mitsuya Shibata Sat, 24 Sep 2011 14:53:40 +0900 + +zsh (4.3.11-4ubuntu2.is.3ubuntu1) natty; urgency=low + + * Reupload to the previous version of zsh. The 4.3.11-4ubuntu1 upload + introduces new build dependencies from universe. (See LP #762286) + + -- Martin Pitt Thu, 21 Apr 2011 19:24:25 +0200 + +zsh (4.3.11-3ubuntu1) natty; urgency=low + + * Merge from debian unstable. (LP: #716918) Remaining changes: + - debian/zshrc: Enable completions by default, unless + skip_global_compinit is set + + -- Angel Abad Sat, 12 Feb 2011 15:41:52 +0100 + zsh (4.3.11-3) unstable; urgency=low * [6b5d568] Update Vcs-Git and Vcs-Browser control headers. @@ -1021,6 +1309,14 @@ -- Michael Prokop Thu, 10 Feb 2011 10:48:36 +0100 +zsh (4.3.11-2ubuntu1) natty; urgency=low + + * Merge from debian unstable. (LP: #704066) Remaining changes: + - debian/zshrc: Enable completions by default, unless + skip_global_compinit is set + + -- Angel Abad Mon, 17 Jan 2011 19:02:52 +0100 + zsh (4.3.11-2) unstable; urgency=low * Fix psmisc detection of fuser completion, thanks to GI. @@ -1031,6 +1327,14 @@ -- Clint Adams Sun, 16 Jan 2011 12:30:13 -0500 +zsh (4.3.11-1ubuntu1) natty; urgency=low + + * Merge from debian unstable. (LP: #700695) Remaining changes: + - debian/zshrc: Enable completions by default, unless + skip_global_compinit is set + + -- Angel Abad Sun, 09 Jan 2011 23:10:24 +0100 + zsh (4.3.11-1) unstable; urgency=low * New upstream release. @@ -1053,6 +1357,14 @@ -- Clint Adams Thu, 11 Nov 2010 14:16:01 -0500 +zsh (4.3.10-15ubuntu1) natty; urgency=low + + * Merge from debian unstable(LP: #669470). Remaining changes: + - debian/zshrc: Enable completions by default, unless + skip_global_compinit is set + + -- Bhavani Shankar Mon, 01 Nov 2010 19:27:22 +0530 + zsh (4.3.10-15) unstable; urgency=low * Update carstenh.zshrc example. @@ -1063,6 +1375,14 @@ -- Clint Adams Tue, 10 Aug 2010 14:58:58 -0400 +zsh (4.3.10-14ubuntu1) maverick; urgency=low + + * Merge from Debian unstable (LP: #612938). Remaining changes: + - debian/zshrc: Enable completions by default, unless + skip_global_compinit is set + + -- Bhavani Shankar Tue, 03 Aug 2010 15:51:55 +0530 + zsh (4.3.10-14) unstable; urgency=low * ZW#27804: don't hang on encountering invalid character in @@ -1145,6 +1465,27 @@ -- Clint Adams Sat, 24 Oct 2009 01:20:39 -0400 +zsh (4.3.10-5ubuntu3) lucid; urgency=low + + * Rebuild statically linked zsh binary against recent libc. + + -- Matthias Klose Sun, 18 Apr 2010 22:23:57 +0000 + +zsh (4.3.10-5ubuntu2) lucid; urgency=low + + * rebuild rest of main for armel armv7/thumb2 optimization; + UbuntuSpec:mobile-lucid-arm-gcc-v7-thumb2 + + -- Alexander Sack Sun, 07 Mar 2010 01:12:08 +0100 + +zsh (4.3.10-5ubuntu1) karmic; urgency=low + + * Merge from debian unstable (LP: #426837), remaining changes: + - debian/zshrc: Enable completions by default, unless + skip_global_compinit is set + + -- Simon Olofsson Tue, 08 Sep 2009 17:04:03 +0200 + zsh (4.3.10-5) unstable; urgency=low * Possible fix for an intermittent history segfault. closes: #535232. @@ -1169,6 +1510,14 @@ -- Clint Adams Fri, 10 Jul 2009 21:58:50 -0400 +zsh (4.3.10-2ubuntu1) karmic; urgency=low + + * Merge from debian unstable, remaining changes: + - debian/zshrc: Enable completions by default, unless + skip_global_compinit is set + + -- Muharem Hrnjadovic Tue, 16 Jun 2009 16:04:38 +0200 + zsh (4.3.10-2) unstable; urgency=medium * Patch from Colin Watson to complete for for bzr switch. @@ -1176,6 +1525,14 @@ -- Clint Adams Tue, 02 Jun 2009 14:51:43 -0400 +zsh (4.3.10-1ubuntu1) karmic; urgency=low + + * Resynchronise with Debian. Remaining changes: + + debian/zshrc: Enable completions by default, unless + skip_global_compinit is set + + -- Colin Watson Tue, 02 Jun 2009 10:40:25 +0100 + zsh (4.3.10-1) unstable; urgency=low * New upstream version. @@ -1198,6 +1555,14 @@ -- Clint Adams Thu, 21 May 2009 21:25:43 -0400 +zsh (4.3.9-4ubuntu1) jaunty; urgency=low + + * Merge from debian unstable, remaining changes: + + debian/zshrc: Enable completions by default, unless + skip_global_compinit is set + + -- Kees Cook Sat, 28 Mar 2009 10:01:26 -0700 + zsh (4.3.9-4) unstable; urgency=low * ZW#26675: add POSIX_ALIASES option. closes: #516998. @@ -1228,6 +1593,14 @@ -- Clint Adams Sat, 28 Feb 2009 14:44:32 -0500 +zsh (4.3.9-1ubuntu1) jaunty; urgency=low + + * Merge from debian unstable, remaining changes: LP: #314112 + + debian/zshrc: Enable completions by default, unless + skip_global_compinit is set. + + -- Bhavani Shankar Mon, 05 Jan 2009 22:27:10 +0530 + zsh (4.3.9-1) unstable; urgency=low * New upstream version. @@ -1247,6 +1620,19 @@ -- Clint Adams Mon, 29 Dec 2008 12:01:01 -0500 +zsh (4.3.6-7ubuntu1) jaunty; urgency=low + + * Merge from unstable, remaining changes: + + debian/zshrc: Enable completions by default, unless + skip_global_compinit is set (cf. LP: #16759). + * Dropped changes: + + Makefile.in: no need to disable running of autoconf if configure + is out of date (builds just fine anyway) + + debian/control: downgrade libcap2-dev: libcap2-dev is in main now, + so we can build with it. + + -- Stefan Potyra Wed, 12 Nov 2008 13:38:52 +0100 + zsh (4.3.6-7) unstable; urgency=medium * Add grep-excuses completion from Chris Lamb. closes: #494137. @@ -1272,6 +1658,22 @@ -- Clint Adams Wed, 16 Jul 2008 18:33:18 -0400 +zsh (4.3.6-4ubuntu1) intrepid; urgency=low + + * Merge from unstable (LP: #244373), remaining changes: + + Makefile.in: Disable rule which runs autoconf if configure is + out of date. + + debian/zshrc: Enable completions by default, unless + skip_global_compinit is set (cf. LP #16759). + + debian/control: Update maintainer field by Ubuntu policy. + * debian/control: Downgrade build-dependency against libcap2-dev + to libcap-dev, since libcap2-dev is only + available in universe. + * This version fixes the issues with the broken zshall manpage + w.o. further modification (LP: #243268). + + -- Stefan Potyra Tue, 01 Jul 2008 18:34:38 +0200 + zsh (4.3.6-4) unstable; urgency=medium * Tweak configure so that dpkg-dev setting CPPFLAGS to the null string @@ -1286,6 +1688,25 @@ -- Clint Adams Sat, 31 May 2008 13:14:20 -0400 +zsh (4.3.6-2ubuntu1) intrepid; urgency=low + + * Merge from debian unstable, remaining changes: + - Makefile.in: Disable rule which runs autoconf; + we don't want it to run during the build. + - debian/zshenv: Stop setting PATH, depend on new and shiny libpam-modules + which sets PATH for us. + - debian/zshrc: Enable completions by default. + - Change the maintainer address. + * remove the patch from debian/zshenv. It does only act if $PATH is + empty or likely to be unconfigured. If a local administrator really + wants PATH to default to "/bin:/usr/bin", he can be expected to modify + /etc/zshenv. + * debian/zshrc: Enable to local user to prevent enabling completions by + the global /etc/zshrc by setting the variable "skip_global_compinit=1" + in his ~/.zshenv. Patch based on proposal by Jay Berkenbilt. LP: #16759 + + -- Reinhard Tartler Wed, 21 May 2008 09:17:09 +0200 + zsh (4.3.6-2) unstable; urgency=medium * Complete .spx files after ogg123, thanks to Markus Waldeck. closes: @@ -1560,6 +1981,20 @@ -- Clint Adams Fri, 26 Oct 2007 15:22:39 -0400 +zsh (4.3.4-24ubuntu1) hardy; urgency=low + + * Merge from debian unstable, remaining changes: + - Disable rule in top-level Makefile.in which runs autoconf; + we don't want it to run during the build. + - Disable further autoconf-invoking rules in mkmakemod.sh.in.in. + - Stop setting PATH, depend on new and shiny libpam-modules which sets + PATH for us. + - Enable completions by default. + - Change the maintainer address. + * remove autogenerated and unneeded hunks (po, files, etc.) + + -- Reinhard Tartler Thu, 25 Oct 2007 19:34:31 +0200 + zsh (4.3.4-24) unstable; urgency=low * Add completion for growisofs. @@ -1631,6 +2066,25 @@ -- Clint Adams Thu, 30 Aug 2007 18:31:25 -0400 +zsh (4.3.4-14ubuntu2) gutsy; urgency=low + + * Trigger rebuild for hppa + + -- LaMont Jones Thu, 04 Oct 2007 12:26:56 -0600 + +zsh (4.3.4-14ubuntu1) gutsy; urgency=low + + * Merge from debian unstable, remaining changes: + - Disable rule in top-level Makefile.in which runs autoconf; + we don't want it to run during the build. + - Disable further autoconf-invoking rules in mkmakemod.sh.in.in. + - Stop setting PATH, depend on new and shiny libpam-modules which sets + PATH for us. + - Enable completions by default. + - Change the maintainer address. + + -- Timo Aaltonen Fri, 31 Aug 2007 12:27:14 +0300 + zsh (4.3.4-14) unstable; urgency=low * Ship md5sums for zsh-dev and zsh-dbg. @@ -1702,6 +2156,19 @@ -- Clint Adams Wed, 06 Jun 2007 12:55:43 -0400 +zsh (4.3.4-5ubuntu1) gutsy; urgency=low + + * Merge from debian unstable, remaining changes: + - Disable rule in top-level Makefile.in which runs autoconf; + we don't want it to run during the build. + - Disable further autoconf-invoking rules in mkmakemod.sh.in.in. + - Stop setting PATH, depend on new and shiny libpam-modules which sets + PATH for us. + - Enable completions by default. + - Change the maintainer address. + + -- Timo Aaltonen Tue, 29 May 2007 12:51:42 +0300 + zsh (4.3.4-5) unstable; urgency=low * Clean up detritus from zsh-dev and zsh-dbg packages in @@ -1717,6 +2184,19 @@ -- Clint Adams Mon, 14 May 2007 15:50:00 -0400 +zsh (4.3.4-3ubuntu1) gutsy; urgency=low + + * Merge from Debian unstable, remaining changes: + - Disable rule in top-level Makefile.in which runs autoconf; + we don't want it to run during the build. + - Disable further autoconf-invoking rules in mkmakemod.sh.in.in. + - Stop setting PATH, depend on new and shiny libpam-modules which sets + PATH for us. + - Enable completions by default. + * Change the maintainer address. + + -- Timo Aaltonen Thu, 10 May 2007 10:14:05 +0300 + zsh (4.3.4-3) unstable; urgency=low * Add Italian debconf templates translation from Luca Monducci. @@ -4430,3 +4910,4 @@ * Added Joey Hess's compctl example for dpkg to /usr/doc/zsh/examples -- Clint Adams Thu, 24 Jul 1997 13:42:49 -0400 + diff -Nru zsh-5.4.2/debian/clean zsh-5.4.2/debian/clean --- zsh-5.4.2/debian/clean 2017-12-30 06:25:44.000000000 +0000 +++ zsh-5.4.2/debian/clean 2018-01-19 09:09:50.000000000 +0000 @@ -20,3 +20,4 @@ obj-static/ obj/ stamp-h.in +config.h.in diff -Nru zsh-5.4.2/debian/control zsh-5.4.2/debian/control --- zsh-5.4.2/debian/control 2017-12-30 06:25:44.000000000 +0000 +++ zsh-5.4.2/debian/control 2017-12-30 22:17:15.000000000 +0000 @@ -9,6 +9,7 @@ groff, groff-base, libcap-dev [linux-any], + libelf-dev, libncursesw5-dev, libpcre3-dev, texinfo (>= 5~), @@ -16,7 +17,8 @@ texlive-latex-base, texlive-latex-recommended, yodl (>= 3.08.01) | yodl (<< 3.08.00) -Maintainer: Debian Zsh Maintainers +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Zsh Maintainers Uploaders: Michael Prokop , Axel Beckert , Frank Terbeck , diff -Nru zsh-5.4.2/debian/patches/CVE-2018-0502-and-CVE-2018-13259.patch zsh-5.4.2/debian/patches/CVE-2018-0502-and-CVE-2018-13259.patch --- zsh-5.4.2/debian/patches/CVE-2018-0502-and-CVE-2018-13259.patch 1970-01-01 00:00:00.000000000 +0000 +++ zsh-5.4.2/debian/patches/CVE-2018-0502-and-CVE-2018-13259.patch 2018-09-10 20:02:52.000000000 +0000 @@ -0,0 +1,121 @@ +From 1c4c7b6a4d17294df028322b70c53803a402233d Mon Sep 17 00:00:00 2001 +From: Anthony Sottile +Date: Mon, 3 Sep 2018 14:39:25 +0000 +Subject: [PATCH] CVE-2018-0502, CVE-2018-13259: Fix two security issues in + shebang line parsing. + +Patch by Anthony Sottile and Buck Evan. +diff --git a/Src/exec.c b/Src/exec.c +index 336a7fd..20e2e09 100644 +--- a/Src/exec.c ++++ b/Src/exec.c +@@ -439,7 +439,7 @@ execcursh(Estate state, int do_exec) + + /* execve after handling $_ and #! */ + +-#define POUNDBANGLIMIT 64 ++#define POUNDBANGLIMIT 128 + + /**/ + static int +@@ -480,18 +480,20 @@ zexecve(char *pth, char **argv, char **newenvp) + if ((fd = open(pth, O_RDONLY|O_NOCTTY)) >= 0) { + argv0 = *argv; + *argv = pth; +- execvebuf[0] = '\0'; ++ memset(execvebuf, '\0', POUNDBANGLIMIT + 1); + ct = read(fd, execvebuf, POUNDBANGLIMIT); + close(fd); + if (ct >= 0) { +- if (execvebuf[0] == '#') { +- if (execvebuf[1] == '!') { +- for (t0 = 0; t0 != ct; t0++) +- if (execvebuf[t0] == '\n') +- break; ++ if (ct >= 2 && execvebuf[0] == '#' && execvebuf[1] == '!') { ++ for (t0 = 0; t0 != ct; t0++) ++ if (execvebuf[t0] == '\n') ++ break; ++ if (t0 == ct) ++ zerr("%s: bad interpreter: %s: %e", pth, ++ execvebuf + 2, eno); ++ else { + while (inblank(execvebuf[t0])) + execvebuf[t0--] = '\0'; +- execvebuf[POUNDBANGLIMIT] = '\0'; + for (ptr = execvebuf + 2; *ptr && *ptr == ' '; ptr++); + for (ptr2 = ptr; *ptr && *ptr != ' '; ptr++); + if (eno == ENOENT) { +@@ -500,10 +502,16 @@ zexecve(char *pth, char **argv, char **newenvp) + *ptr = '\0'; + if (*ptr2 != '/' && + (pprog = pathprog(ptr2, NULL))) { +- argv[-2] = ptr2; +- argv[-1] = ptr + 1; +- winch_unblock(); +- execve(pprog, argv - 2, newenvp); ++ if (ptr == execvebuf + t0 + 1) { ++ argv[-1] = ptr2; ++ winch_unblock(); ++ execve(pprog, argv - 1, newenvp); ++ } else { ++ argv[-2] = ptr2; ++ argv[-1] = ptr + 1; ++ winch_unblock(); ++ execve(pprog, argv - 2, newenvp); ++ } + } + zerr("%s: bad interpreter: %s: %e", pth, ptr2, + eno); +@@ -518,10 +526,6 @@ zexecve(char *pth, char **argv, char **newenvp) + winch_unblock(); + execve(ptr2, argv - 1, newenvp); + } +- } else if (eno == ENOEXEC) { +- argv[-1] = "sh"; +- winch_unblock(); +- execve("/bin/sh", argv - 1, newenvp); + } + } else if (eno == ENOEXEC) { + for (t0 = 0; t0 != ct; t0++) +diff --git a/Test/A05execution.ztst b/Test/A05execution.ztst +index 91a12df..b47418a 100644 +--- a/Test/A05execution.ztst ++++ b/Test/A05execution.ztst +@@ -12,7 +12,14 @@ + + print '#!/bin/sh\necho This is dir2' >dir2/tstcmd + ++ print -n '#!sh\necho This is slashless' >tstcmd-slashless ++ print -n '#!echo foo\necho This is arg' >tstcmd-arg ++ print '#!xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxnyyy' >tstcmd-interp-too-long ++ print '#!/bin/sh\necho should not execute; exit 1' >xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxn ++ + chmod 755 tstcmd dir1/tstcmd dir2/tstcmd ++ chmod 755 tstcmd-slashless tstcmd-arg tstcmd-interp-too-long ++ chmod 755 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxn + + %test + ./tstcmd +@@ -33,6 +40,21 @@ + 0:path (2) + >This is top + ++ PATH=/bin:${ZTST_testdir}/command.tmp/ tstcmd-slashless ++0:path (3) ++>This is slashless ++ ++ PATH=/bin:${ZTST_testdir}/command.tmp tstcmd-arg ++0:path (4) ++*>foo */command.tmp/tstcmd-arg ++ ++ path=(/bin ${ZTST_testdir}/command.tmp/) ++ tstcmd-interp-too-long 2>&1; echo "status $?" ++ path=($storepath) ++0:path (5) ++*>*tstcmd-interp-too-long: bad interpreter: x*xn: no such file or directory ++>status 127 ++ + functst() { print $# arguments:; print -l $*; } + functst "Eines Morgens" "als Gregor Samsa" + functst "" diff -Nru zsh-5.4.2/debian/patches/CVE-2018-1071.patch zsh-5.4.2/debian/patches/CVE-2018-1071.patch --- zsh-5.4.2/debian/patches/CVE-2018-1071.patch 1970-01-01 00:00:00.000000000 +0000 +++ zsh-5.4.2/debian/patches/CVE-2018-1071.patch 2018-04-06 15:01:55.000000000 +0000 @@ -0,0 +1,38 @@ +Backported of: + +From 679b71ec4d852037fe5f73d35bf557b0f406c8d4 Mon Sep 17 00:00:00 2001 +From: Oliver Kiddle +Date: Sat, 24 Mar 2018 15:02:41 +0100 +Subject: [PATCH] 42518, CVE-2018-1071: check bounds when copying path in + hashcmd() +diff --git a/Src/exec.c b/Src/exec.c +index cd99733..336a7fd 100644 +--- a/Src/exec.c ++++ b/Src/exec.c +@@ -920,7 +920,7 @@ hashcmd(char *arg0, char **pp) + for (; *pp; pp++) + if (**pp == '/') { + s = buf; +- strucpy(&s, *pp); ++ struncpy(&s, *pp, PATH_MAX); + *s++ = '/'; + if ((s - buf) + strlen(arg0) >= PATH_MAX) + continue; +diff --git a/Src/utils.c b/Src/utils.c +index 5055d69..271f55f 100644 +--- a/Src/utils.c ++++ b/Src/utils.c +@@ -2283,10 +2283,10 @@ struncpy(char **s, char *t, int n) + { + char *u = *s; + +- while (n--) +- *u++ = *t++; ++ while (n-- && (*u++ = *t++)); + *s = u; +- *u = '\0'; ++ if (n > 0) /* just one null-byte will do, unlike strncpy(3) */ ++ *u = '\0'; + } + + /* Return the number of elements in an array of pointers. * diff -Nru zsh-5.4.2/debian/patches/CVE-2018-1083.patch zsh-5.4.2/debian/patches/CVE-2018-1083.patch --- zsh-5.4.2/debian/patches/CVE-2018-1083.patch 1970-01-01 00:00:00.000000000 +0000 +++ zsh-5.4.2/debian/patches/CVE-2018-1083.patch 2018-04-06 15:01:55.000000000 +0000 @@ -0,0 +1,38 @@ +Backported of: + +From 259ac472eac291c8c103c7a0d8a4eaf3c2942ed7 Mon Sep 17 00:00:00 2001 +From: Oliver Kiddle +Date: Sat, 24 Mar 2018 15:04:39 +0100 +Subject: [PATCH] 42519, CVE-2018-1083: check bounds on PATH_MAX-sized buffer + used for file completion candidates +diff --git a/Src/Zle/compctl.c b/Src/Zle/compctl.c +index 5414b8f..29649ac 100644 +--- a/Src/Zle/compctl.c ++++ b/Src/Zle/compctl.c +@@ -2176,6 +2176,8 @@ gen_matches_files(int dirs, int execs, int all) + if (prpre && *prpre) { + pathpref = dupstring(prpre); + unmetafy(pathpref, &pathpreflen); ++ if (pathpreflen > PATH_MAX) ++ return; + /* system needs NULL termination, not provided by unmetafy */ + pathpref[pathpreflen] = '\0'; + } else { +@@ -2218,6 +2220,8 @@ gen_matches_files(int dirs, int execs, int all) + * the path buffer by appending the filename. */ + ums = dupstring(n); + unmetafy(ums, ¨en); ++ if (umlen + pathpreflen + 1 > PATH_MAX) ++ continue; + memcpy(q, ums, umlen); + q[umlen] = '\0'; + /* And do the stat. */ +@@ -2232,6 +2236,8 @@ gen_matches_files(int dirs, int execs, int all) + /* We have to test for a path suffix. */ + int o = strlen(p), tt; + ++ if (o + strlen(psuf) > PATH_MAX) ++ continue; + /* Append it to the path buffer. */ + strcpy(p + o, psuf); + diff -Nru zsh-5.4.2/debian/patches/CVE-2018-1100.patch zsh-5.4.2/debian/patches/CVE-2018-1100.patch --- zsh-5.4.2/debian/patches/CVE-2018-1100.patch 1970-01-01 00:00:00.000000000 +0000 +++ zsh-5.4.2/debian/patches/CVE-2018-1100.patch 2018-09-10 20:02:28.000000000 +0000 @@ -0,0 +1,53 @@ +From 31f72205630687c1cef89347863aab355296a27f Mon Sep 17 00:00:00 2001 +From: Oliver Kiddle +Date: Sat, 7 Apr 2018 18:28:38 +0200 +Subject: [PATCH] 42607, CVE-2018-1100: check bounds on buffer in mail checking + +--- + ChangeLog | 3 +++ + Src/utils.c | 8 +++++--- + 2 files changed, 8 insertions(+), 3 deletions(-) + +#diff --git a/ChangeLog b/ChangeLog +#index 60ec155..2cc699b 100644 +#--- a/ChangeLog +#+++ b/ChangeLog +#@@ -1,5 +1,8 @@ +# 2018-04-07 Oliver Kiddle +# +#+ * 42607, CVE-2018-1100: Src/utils.c: check bounds on buffer +#+ in mail checking +#+ +# * 42600: Src/Zle/computil.c: error paths for _values leaked +# the exclusion list array +# +diff --git a/Src/utils.c b/Src/utils.c +index c544b81..180693d 100644 +--- a/Src/utils.c ++++ b/Src/utils.c +@@ -1653,7 +1653,7 @@ checkmailpath(char **s) + LinkList l; + DIR *lock = opendir(unmeta(*s)); + char buf[PATH_MAX * 2 + 1], **arr, **ap; +- int ct = 1; ++ int buflen, ct = 1; + + if (lock) { + char *fn; +@@ -1662,9 +1662,11 @@ checkmailpath(char **s) + l = newlinklist(); + while ((fn = zreaddir(lock, 1)) && !errflag) { + if (u) +- sprintf(buf, "%s/%s?%s", *s, fn, u); ++ buflen = snprintf(buf, sizeof(buf), "%s/%s?%s", *s, fn, u); + else +- sprintf(buf, "%s/%s", *s, fn); ++ buflen = snprintf(buf, sizeof(buf), "%s/%s", *s, fn); ++ if (buflen < 0 || buflen >= (int)sizeof(buf)) ++ continue; + addlinknode(l, dupstring(buf)); + ct++; + } +-- +2.7.4 + diff -Nru zsh-5.4.2/debian/patches/CVE-2018-7548.patch zsh-5.4.2/debian/patches/CVE-2018-7548.patch --- zsh-5.4.2/debian/patches/CVE-2018-7548.patch 1970-01-01 00:00:00.000000000 +0000 +++ zsh-5.4.2/debian/patches/CVE-2018-7548.patch 2018-03-09 08:31:57.000000000 +0000 @@ -0,0 +1,37 @@ +From 110b13e1090bc31ac1352b28adc2d02b6d25a102 Mon Sep 17 00:00:00 2001 +From: Joey Pabalinas +Date: Tue, 23 Jan 2018 22:28:08 -0800 +Subject: [PATCH] 42313: avoid null-pointer deref when using ${(PA)...} on an + empty array result + +--- + ChangeLog | 5 +++++ + Src/subst.c | 2 +- + 2 files changed, 6 insertions(+), 1 deletion(-) + +#diff --git a/ChangeLog b/ChangeLog +#index d2ba94a..3037edd 100644 +#--- a/ChangeLog +#+++ b/ChangeLog +#@@ -1,3 +1,8 @@ +#+2018-01-23 Barton E. Schaefer +#+ +#+ * Joey Pabalinas: 42313: Src/subst.c: avoid null-pointer deref +#+ when using ${(PA)...} on an empty array result +#+ +# 2018-01-23 Oliver Kiddle +# +# * 42317: Completion/Linux/Command/_cryptsetup, +Index: zsh-5.4.2/Src/subst.c +=================================================================== +--- zsh-5.4.2.orig/Src/subst.c ++++ zsh-5.4.2/Src/subst.c +@@ -2340,7 +2340,7 @@ paramsubst(LinkList l, LinkNode n, char + val = aval[0]; + isarr = 0; + } +- s = dyncat(val, s); ++ s = val ? dyncat(val, s) : dupstring(s); + /* Now behave po-faced as if it was always like that... */ + subexp = 0; + /* diff -Nru zsh-5.4.2/debian/patches/CVE-2018-7549.patch zsh-5.4.2/debian/patches/CVE-2018-7549.patch --- zsh-5.4.2/debian/patches/CVE-2018-7549.patch 1970-01-01 00:00:00.000000000 +0000 +++ zsh-5.4.2/debian/patches/CVE-2018-7549.patch 2018-03-09 08:31:57.000000000 +0000 @@ -0,0 +1,45 @@ +From c2cc8b0fbefc9868fa83537f5b6d90fc1ec438dd Mon Sep 17 00:00:00 2001 +From: Stephane Chazelas +Date: Fri, 22 Dec 2017 22:17:09 +0000 +Subject: [PATCH] Avoid crash copying empty hash table. + +Visible with typeset -p. +--- + ChangeLog | 2 ++ + Src/params.c | 11 +++++++---- + 2 files changed, 9 insertions(+), 4 deletions(-) + +#diff --git a/ChangeLog b/ChangeLog +#index f74c26b..e3628cf 100644 +#--- a/ChangeLog +#+++ b/ChangeLog +#@@ -1,5 +1,7 @@ +# 2018-01-04 Peter Stephenson +# +#+ * Stephane: 42159: Src/params.c: avoid crash copying empty hash table. +#+ +# * Sebastian: 42188: Src/Modules/system.c: It is necessary to +# close the lock descriptor in some failure cases. +# +Index: zsh-5.4.2/Src/params.c +=================================================================== +--- zsh-5.4.2.orig/Src/params.c ++++ zsh-5.4.2/Src/params.c +@@ -535,10 +535,13 @@ scancopyparams(HashNode hn, UNUSED(int f + HashTable + copyparamtable(HashTable ht, char *name) + { +- HashTable nht = newparamtable(ht->hsize, name); +- outtable = nht; +- scanhashtable(ht, 0, 0, 0, scancopyparams, 0); +- outtable = NULL; ++ HashTable nht = 0; ++ if (ht) { ++ nht = newparamtable(ht->hsize, name); ++ outtable = nht; ++ scanhashtable(ht, 0, 0, 0, scancopyparams, 0); ++ outtable = NULL; ++ } + return nht; + } + diff -Nru zsh-5.4.2/debian/patches/cross-compile.diff zsh-5.4.2/debian/patches/cross-compile.diff --- zsh-5.4.2/debian/patches/cross-compile.diff 1970-01-01 00:00:00.000000000 +0000 +++ zsh-5.4.2/debian/patches/cross-compile.diff 2016-08-23 10:35:26.000000000 +0000 @@ -0,0 +1,64 @@ +Description: Adjust cross-compile fallback values to yes. +Origin: commit, revision id: dmitrijs.ledkovs@canonical.com-20121220153357-amh2d7kzw5d314mt +Author: Dmitrijs Ledkovs +Last-Update: 2012-12-20 +X-Bzr-Revision-Id: dmitrijs.ledkovs@canonical.com-20121220153357-amh2d7kzw5d314mt + +=== modified file 'aczsh.m4' +--- old/aczsh.m4 2009-09-08 17:04:03 +0000 ++++ new/aczsh.m4 2012-12-20 15:33:57 +0000 +@@ -171,7 +171,7 @@ + } + ], [zsh_cv_shared_$1=yes], + [zsh_cv_shared_$1=no], +-[zsh_cv_shared_$1=no] ++[zsh_cv_shared_$1=yes] + ) + else + zsh_cv_shared_$1=no +@@ -242,7 +242,7 @@ + } + ], [zsh_cv_sys_dynamic_clash_ok=yes], + [zsh_cv_sys_dynamic_clash_ok=no], +-[zsh_cv_sys_dynamic_clash_ok=no] ++[zsh_cv_sys_dynamic_clash_ok=yes] + ) + else + zsh_cv_sys_dynamic_clash_ok=no +@@ -315,7 +315,7 @@ + } + ], [zsh_cv_sys_dynamic_rtld_global=yes], + [zsh_cv_sys_dynamic_rtld_global=no], +-[zsh_cv_sys_dynamic_rtld_global=no] ++[zsh_cv_sys_dynamic_rtld_global=yes] + ) + else + zsh_cv_sys_dynamic_rtld_global=no +@@ -384,7 +384,7 @@ + int fred () { return 42; } + ], [zsh_cv_sys_dynamic_execsyms=yes], + [zsh_cv_sys_dynamic_execsyms=no], +-[zsh_cv_sys_dynamic_execsyms=no] ++[zsh_cv_sys_dynamic_execsyms=yes] + ) + LDFLAGS=$save_ldflags + else +@@ -457,7 +457,7 @@ + int fred () { return 42; } + ], [zsh_cv_sys_dynamic_strip_exe=yes], + [zsh_cv_sys_dynamic_strip_exe=no], +-[zsh_cv_sys_dynamic_strip_exe=no] ++[zsh_cv_sys_dynamic_strip_exe=yes] + ) + LDFLAGS=$save_ldflags + else +@@ -522,7 +522,7 @@ + } + ], [zsh_cv_sys_dynamic_strip_lib=yes], + [zsh_cv_sys_dynamic_strip_lib=no], +-[zsh_cv_sys_dynamic_strip_lib=no] ++[zsh_cv_sys_dynamic_strip_lib=yes] + ) + else + zsh_cv_sys_dynamic_strip_lib=no + diff -Nru zsh-5.4.2/debian/patches/series zsh-5.4.2/debian/patches/series --- zsh-5.4.2/debian/patches/series 2017-08-10 16:06:06.000000000 +0000 +++ zsh-5.4.2/debian/patches/series 2018-09-10 20:02:45.000000000 +0000 @@ -1,2 +1,9 @@ further-mitigate-test-suite-hangs.patch update-debian-sections.patch +cross-compile.diff +CVE-2018-7548.patch +CVE-2018-7549.patch +CVE-2018-1071.patch +CVE-2018-1083.patch +CVE-2018-0502-and-CVE-2018-13259.patch +CVE-2018-1100.patch diff -Nru zsh-5.4.2/debian/rules zsh-5.4.2/debian/rules --- zsh-5.4.2/debian/rules 2017-12-30 06:25:44.000000000 +0000 +++ zsh-5.4.2/debian/rules 2018-01-19 09:09:13.000000000 +0000 @@ -6,6 +6,7 @@ DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk +include /usr/share/dpkg/architecture.mk include /usr/share/dpkg/pkg-info.mk H_LDFLAGS = $(LDFLAGS) @@ -94,6 +95,8 @@ cd obj && $(MAKE) install.fns DESTDIR=$(CURDIR)/debian/zsh-common rm -r debian/zsh-common/usr/local +# move this to a non-root section; also drop it for cross-compiles +ifeq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) awk '/^#define FPATH_DIR/ { head=$$3; gsub(/"/,"",head); }; \ /^#define FPATH_SUBDIRS/ { $$1=""; $$2=""; gsub(/[" ]/,""); tail=$$0; } \ END { printf "%s/%s\n", head, tail; };' \ @@ -104,6 +107,7 @@ zcompile -U -M $$i.zwc $$i/*~*.zwc(^/); \ chmod 644 $$i.zwc; \ done' +endif # Docs: Info + HTML cd obj && $(MAKE) install.info install.html \ diff -Nru zsh-5.4.2/debian/zshrc zsh-5.4.2/debian/zshrc --- zsh-5.4.2/debian/zshrc 2017-08-10 15:09:51.000000000 +0000 +++ zsh-5.4.2/debian/zshrc 2017-12-30 22:17:15.000000000 +0000 @@ -102,3 +102,11 @@ (( ${+aliases[run-help]} )) && unalias run-help autoload -Uz run-help + +# If you don't want compinit called here, place the line +# skip_global_compinit=1 +# in your $ZDOTDIR/.zshenv or $ZDOTDIR/.zprofile +if [[ -z "$skip_global_compinit" ]]; then + autoload -U compinit + compinit +fi