From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23788 invoked by alias); 17 May 2017 19:52:29 -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: 22702 Received: (qmail 3345 invoked from network); 17 May 2017 19:52:29 -0000 X-Qmail-Scanner-Diagnostics: from forward5p.cmail.yandex.net by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(77.88.31.20):SA:0(-0.7/5.0):. Processed in 2.466633 secs); 17 May 2017 19:52:29 -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=-0.7 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: kp-pav@yandex.ru X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf-ipv4.yandex.ru designates 77.88.31.20 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1495050379; bh=sYTLcFT7Phs3AT4C9TF19XaIhLOgUfUiLY2gIZwEHF4=; h=From:To:In-Reply-To:References:Subject:Message-Id:Date; b=Az+yAjUMffE87eBReXQvllOluftv2NSg1kA6vfeThhZLDURMevwdYIT2gcul7iFZ3 zRaFkgYaqOMdUu3UZxvGsMXCdOou9ssO7NgTKBf7rGiWVrOfz/5XUDJ2JgkTG4ck/0 WGNW557iGOUiBxstq14ZJ9DUZGpUtuKvLt41UYME= Authentication-Results: mxback4h.mail.yandex.net; dkim=pass header.i=@yandex.ru From: "Nikolay Aleksandrovich Pavlov (ZyX)" To: Guilherme Furtado Pacheco , "zsh-users@zsh.org" In-Reply-To: References: Subject: Re: command not found: _arguments MIME-Version: 1.0 Message-Id: <876481495050379@web31g.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Wed, 17 May 2017 22:46:19 +0300 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 17.05.2017, 22:09, "Guilherme Furtado Pacheco" : > I'm having trouble with completions for some commands. When I type vim and press tab I get this error: > > ➜ ~ vim _vim:101: command not found: _arguments > _vim:101: command not found: _arguments > _vim:101: command not found: _arguments > > This also happens with other commands (like rm, cp, ls, cat, grep): > > ➜ ~ rm _rm:43: command not found: _arguments > _rm:43: command not found: _arguments > _rm:43: command not found: _arguments > > But not with mv or cd for example. > One thing I discovered is that I after run zsh everything works just fine, but only for this session. When I open another zsh window I got the error again. > Looks like the _arguments wrapper function is not being defined. > Any idea of what could be causing the error or how to solve it? > > Guilherme Furtado Pacheco > +55 48 996177277 I get similar problems after zsh update. Depending on the situation I either just do `exec zsh` (if I have no background jobs to keep) or run something like fpath=( ${fpath/5.1.1/5.2} ) (this is for update from 5.1.1 to 5.2).