Zsh Mailing List Archive
Messages sorted by:
Re: Problem after upgrade from 4.3 to 5.2
- X-seq: zsh-users 21445
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Henrik Johansson <henrik.johansson.kank@xxxxxxx>
- Subject: Re: Problem after upgrade from 4.3 to 5.2
- Date: Sat, 16 Apr 2016 02:42:55 +0200
- Cc: zsh-users@xxxxxxx
- 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==
- In-reply-to: <firstname.lastname@example.org>
- List-help: <mailto:email@example.com>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:firstname.lastname@example.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <email@example.com>
Henrik Johansson wrote:
> After upgrade of zsh I got a problem with completion.
> In this example I write 'ls -l .z<TAB>
> 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
I've also run into problems with completion relying on pushd in one
place as I disable (and replace) pushd.
Messages sorted by: