From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9382 invoked by alias); 8 Jan 2014 08:57:17 -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: 18292 Received: (qmail 6204 invoked from network); 8 Jan 2014 08:57:01 -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=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=XkC2ZgvWJBN2uuXfu8bc+0IWkGTHGUz0SwDQ5N2SwSA=; b=wM4ncPmpDE3Mbi3SvPNQBGa2LDR2qeoSONgHkCXYoML+69LnQDtwogJWWfwXnDckmW bBOnSry9/wAoydfn+4FPdaLzmR2SVeB3sJ8AUktce7rFtvxnBcWIqmCiFELYfuYUcF3h Dx8OHn1AOtXU4bsAQBGYMV809SN1OIsJ1qZIIweNn9p4Pwc5Wz8DkMxxcQ1uieUt6ozF QRAQIWEEieY8bYZxgAb4Mu0pd++b8Tqs/kcuk6grQ4c6oFai68Pd5lpbKp9nsjoi/75p NkEtmQZSwAiuwioRmjCCfmNFy/bPxopn0gd5BcnpWy8hA78fR3NOuxhQUpJYhY9nsOFd toyQ== X-Received: by 10.112.171.41 with SMTP id ar9mr4393564lbc.74.1389171418695; Wed, 08 Jan 2014 00:56:58 -0800 (PST) From: Sohron Viholainen Content-Type: multipart/signed; boundary="Apple-Mail=_3329E774-52CA-4FF4-926E-0EBA7DF27EF8"; protocol="application/pgp-signature"; micalg=pgp-sha1 Message-Id: <36AC5DE3-2F13-4FD5-A5DE-C860937B8223@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: Zsh not completing redirection anymore Date: Wed, 8 Jan 2014 10:56:55 +0200 References: <3544E54E-173B-43CA-9735-6A2A2BA9DB80@gmail.com> To: zsh-users@zsh.org In-Reply-To: X-Mailer: Apple Mail (2.1827) --Apple-Mail=_3329E774-52CA-4FF4-926E-0EBA7DF27EF8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Thank you :) after disabling=10 = =10~/.zsh/zshrc.d/121_environment.completions.additional.zsh redirection = worked right. I looked inside the file and decided to comment out this = part in the beginning of the file, as app completion has never worked = after all: ----BEGIN---- ####################################################### #### Make the "open -a" completion work faster ###### ####################################################### # This is to make the "open -a" command completion snappier. # touching the file upon shell startup will trigger various launchd = items # that in turn will ensure completions are up to date. We run the = command once=20 # now to establish a short-term SpotLight cache. if [[ -f /Library/LaunchAgents/zsh.refresh.completion.plist || \ -f /Library/LaunchAgents/zsh.refresh.completion.plist = ]];then touch ~/.zsh/zrefresh 2>/dev/null chmod 777 ~/.zsh/zrefresh 2>/dev/null fi =20 # This seems to work better: =20 if [[ -x /usr/bin/mdfind ]];then ( mdfind -onlyin /Applications -onlyin /Developer \ =10=10 "kMDItemContentType =3D=3D 'com.apple.application-*'" = >| \ /dev/null 2>&1 & ; ); fi ----END---- I don=92t really see what=92s wrong with the above, but commenting it = out and then re-enabling the file fixed my problem and now even the = `open -a =92 works just fine and fast, so = ~/.zsh/cache//Mac_applications got filled quickly and = completely :D On 08 Jan 2014, at 09:30, Bart Schaefer = wrote: > On Tue, Jan 7, 2014 at 9:31 PM, Sohron Viholainen = wrote: >>=20 >> I=92m using zsh-templates-osx = (https://code.google.com/p/zsh-templates-osx/) with vi- and zshall = keybindings, but haven=92t changed anything in it lately. >=20 > Nevertheless I think this must be where the problem lies. I'm not > going to pretend to have time or interest in poring over that, but I > don't find anything in your pastebin'd .zshrc that is the culprit. >=20 >> For some reason redirection like, say `echo foo > file=92 or = `echo foo >> file=92 doesn=92t complete to file.txt or anything = existing >=20 > Use and (_complete_help and _complete_debug) to > see if anything looks odd. should give you something very > much like: >=20 > tags in context :completion::complete:-redirect-,>,echo:: > all-files (_files _redirect) >=20 > Output from goes to a file and can be difficult to > interpret. If completion after just "echo" (without redirection) is > still working, capture one debug file that way and a second one with > the redirect so the two can be compared. --=20 Marko Vihoma http://personal.inet.fi/koti/marko.vihoma/ --Apple-Mail=_3329E774-52CA-4FF4-926E-0EBA7DF27EF8 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQEcBAEBAgAGBQJSzRLXAAoJEHxwziVZ1b7uJ5EIAJQbKL3Yp7imL7kzNf36sbS2 QPW/65oz6KuKXMVl3rLNPmhk/ODhrxewgLUdFZ4uqZO7g1JZwbkTV5bkmDoa8sMM TquFvbBQpTpEdwMa7foT8Wm6ZdmaD3fBtZuzzRxrlOVqPq4dX5V0oXQopBUl8m3y TFmSPb8PODPd5lE0zBgyfR/RlvhjpSwUXi03BdKS3fFM/6IrsUqFYkHyyWx/ozsv QjedJ2E0yGjK7F+lGn1PcXIsI/B1FOsUcWUGrzjrO4JW53zzTb6fohmSCOBwUk98 g67ISzoGgV+iaJeqn05NKdshFa5TPord5DrNJgF5asEM68QeWFwpo8eT1Q5aFSw= =wuO4 -----END PGP SIGNATURE----- --Apple-Mail=_3329E774-52CA-4FF4-926E-0EBA7DF27EF8--