Package: zsh
Version: 4.3.11-4
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch

In Ubuntu, the attached patch was applied to achieve the following:

    - debian/zshrc: Enable completions by default, unless
      skip_global_compinit is set

This is the last delta between Debian's and Ubuntu's zsh package.

Thanks for considering the patch.


-- System Information:
Debian Release: squeeze/sid
  APT prefers natty
  APT policy: (500, 'natty'), (500, 'maverick-updates'), (500, 
'maverick-security'), (500, 'maverick-proposed'), (500, 'maverick'), (150, 
'testing'), (10, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-8-generic (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru zsh-4.3.11/debian/zshrc zsh-4.3.11/debian/zshrc
--- zsh-4.3.11/debian/zshrc	2011-03-03 14:23:07.000000000 +0100
+++ zsh-4.3.11/debian/zshrc	2011-03-09 18:39:56.000000000 +0100
@@ -41,3 +41,11 @@
 
 unalias run-help
 autoload run-help
+
+# If you don't want compinit called here, place the line
+# skip_global_compinit=1
+# in your $ZDOTDIR/.zshenv or $ZDOTDIR/.zprofice
+if [[ -z "$skip_global_compinit" ]]; then
+  autoload -U compinit
+  compinit
+fi

Reply via email to