From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28733 invoked by alias); 29 Apr 2012 05:21:56 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17039 Received: (qmail 22544 invoked from network); 29 Apr 2012 05:21:44 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.214.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:subject:x-mailer:mime-version:content-type :content-transfer-encoding:content-disposition; bh=aFxLt3jLpRqlSTWR0djtb+Jd6rfbPva/6/Vl2kqgRk4=; b=Gd6ANumBj/hWgn7ln5rnXC0y50NCOHCkl3DwRYk+EbmKduXnBD7tJFsGTEFVEZIj3a w/kJrylKrt2O4hdHugx5s0zhMBFaS21gEaGV8lUCs2TKfirKaFdn3LuKYcn9BYyAzumz yDaHDXutT9hL6ISbtH8eb8rIi/VSjWIhbqXES+SGXmeYUhImkZKG/w0T1kD3C8RRNmbu nyQ7XFiVP18vpWURXls6++fvzKpZg15VD5cjO+Wyu9+XdOGMLedWJGaa8RvUjen9C73C ZKeb2tfb8wD3Y9K6sNYYNL6/EZYsqnRiRExnQxOvDVFcuR/S9Y5A8lGc31wGn1aFj5no DPMw== Date: Sun, 29 Apr 2012 01:21:20 -0400 From: TJ Luoma To: zsh-users@zsh.org Message-ID: Subject: compinit causes completion to fail? X-Mailer: sparrow 1.5 (build 1043) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I split my .zshenv and .zshrc into several smaller files which are source= d separately, and now I've broken completion :-/ If I include these two lines in my zshenv file=5B1=5D: autoload -U compinit compinit then completion fails with this message: =5Fcomplete:117: command not found: =5Fnormal and a =7E/.zcompdump file is created =5B2=5D but if I comment out those two lines: =23autoload -U compinit =23compinit then completion seems to work OK. HOWEVER, if I remove my =7E/.zshenv and all related =7E/.z* files, and th= en use 'autoload -U compinit' and 'compinit' then it works fine, and the = 'zcompdump' file looks better =5B4=5D, which further solidifies my belief= that the problem here is something I've done in my .zshenv files=E2=80=A6= but what=3F Did I fail to load something before turning on compinit, or did I set som= ething too early=3F Bindkeys, perhaps=3F If you look at the 'zcompdump' file =5B2=5D, specifically at line 117, it= says: bindkey '=5E=5Bg=22 get-lin' =20 that looks wrong to me. In fact, ALL of the bindkey lines look like they = have lost the last character. This started immediately after I split my =7E/.zshenv file into several d= ifferent files. You can see them all here =5B3=5D. This is using 4.3.11 o= n Mac OS X 10.7.3. =20 I have no idea what I've done here, but I'd appreciate any help. TjL =5B1=5D =20 https://www.dropbox.com/sh/7t1jagj5clkz0ci/=5Fnzmp1eO9b/interactive/compl= etion.sh =5B2=5D http://dl.dropbox.com/u/18414/tmp/zcompdump.txt =5B3=5D https://www.dropbox.com/sh/7t1jagj5clkz0ci/28xgQ85Mye =5B4=5D http://dl.dropbox.com/u/18414/tmp/zcompdump2.txt