From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2222 invoked by alias); 16 Apr 2016 00:49:02 -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: 21445 Received: (qmail 1554 invoked from network); 16 Apr 2016 00:49:00 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1460767376; bh=EVXxGEJjFwGLG1Ul/rAM+MqrDblTdYwphqwE+zo0GNk=; h=cc:In-reply-to:From:References:To:Subject:Date:From:Subject; b=LeQnV+0JzmsVWtJKFGA7prrhUW1V2G8uj+Rk8o2bHcc7XXN56cQeaemZ2dzAalvinbSbGJS8cIDhKn+nbYiumr5h/CgoT5hgu+b8enXgb0oeTFOq8U6835uwpsvqCtBIFQZEiJptxupLjSfP1X0iSdYNntvi6wZaGimzRGL2WW7QFGjHBoAux6eK1HkjBfh8OOXpd6fEIqJK30DaqFSjLGi+RxuSllZn4YNSgQLFxzAMw2eKLIjdi7AlcfMAiaqKYdEbVYdCT8KPmnhBvNkTwXAShC86UgLlyUSGcqNaaODOktiV/5YNjzbcCVHLioz24FYwqs/feW7yptEZedWx9g== X-Yahoo-Newman-Id: 913031.24025.bm@smtp125.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 2CVwLUUVM1mdTzfofaoeQibBKtEwRJJunw9o65m0vhGt_P3 jLUpfG_TFqWHZ93UydtPVVimOk07HqX0SuBrGlZIYNyeWuAVgpYLdZmLnm6z WJgJpERrmMicx7QeLVPFyYoPapAhjilZPROpvj.zwouJuIHGbtO4q5DLHiAU EjBhb6KPwIA1vDyPhwBS7fOb1bp8reRZhgRkM197dBOjwcmsQWGUsWBiX8Nb aM8VC1dICpRRKKyE0THMaAYVqzKOQt.GN2fypd_qqvbk7ILd5snEpb08dRqe Cs62s5jbw._aPV0w7Xqo3M_SGMYquFsR.Lq.u_krL5XHqD9dgVBLgFzVeH2B f0MbC29TmExJMPw4L_bgdqoQ1UPssnSamgLM40bfKhISlPp87jKQshGrLI_G Ej4XnxbLhkNM_gCIXKClzjFBkReH55sqh4ryCSMQdlf.msYZ5E4SbiN0TMcD mFnL8QWsaz3wreTjYJbrgM.D.Qrhv0ubZ_vfOhIbEgk6z96m_vMYSS2OOqRc 7KQFqA3LzWjZw9qsF49rGRtXPWPTNg5E- X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI- cc: zsh-users@zsh.org In-reply-to: <57116948.903@mail.se> From: Oliver Kiddle References: <57116948.903@mail.se> To: Henrik Johansson Subject: Re: Problem after upgrade from 4.3 to 5.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <12584.1460767188.1@thecus.kiddle.eu> Date: Sat, 16 Apr 2016 02:42:55 +0200 Message-ID: <12614.1460767375@thecus.kiddle.eu> Henrik Johansson wrote: > > After upgrade of zsh I got a problem with completion. > In this example I write 'ls -l .z > > server.user 1045> ls -l .zenable: printer "-p" non-existent There's a name clash for "enable" / "disable" between the shell builtins and external commands for enabling/disabling printers. > The solution seems to be an update to /etc/zshrc, I commented the > following line: > disable enable disable > > What was the purpose of 'disable enable disable', what are we missing now? You probably had that there so that typing enable or disable would get you the external commands instead of the builtins. That line disables the builtins. So if you remove that line, you'll have to type /bin/enable explicitly to enable printers. I'm not quite sure what the completion system is running enable for but it probably ought to check $builtins[enable] to check for this situation. You're probably not the only person to have the disabled enable. I've also run into problems with completion relying on pushd in one place as I disable (and replace) pushd. Oliver