From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 6e600152 for ; Wed, 2 Jan 2019 15:42:33 +0000 (UTC) Received: (qmail 27971 invoked by alias); 2 Jan 2019 15:42:20 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 43967 Received: (qmail 18882 invoked by uid 1010); 2 Jan 2019 15:42:20 -0000 X-Qmail-Scanner-Diagnostics: from out1-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.100.2/25112. spamassassin: 3.4.2. Clear:RC:0(66.111.4.25):SA:0(-2.6/5.0):. Processed in 5.459107 secs); 02 Jan 2019 15:42:20 -0000 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date:references :in-reply-to; s=fm2; bh=YDS0/uEkWtBItYdP4nPpq0X3nRbZSEsZJBGgsqKW 4F8=; b=VLX7KoRdlxdR+K74AoZfp+/7nhC/TIp8NX+TdvwFheVWBg/MB2i/UDWN 3kMWpqbJxj/sZxQ44n4OAS79OVUt3MJ85IkR7uf8zTX1VwOOHnaLqwGoS9/74ARg HrRlzcVyVzsFSK7EKWBFmyOi+1FSUYYYud0FypfI3FZ+oqUpEKT80KJbNEmsMM18 8axeKbjkRdsSxlDUzOSe7/YeKtFc4SDB52/UwWYAFUgdKjTYbAcj2KFS/AVtP2Cb p6scLFJ7FVvrUjGqT8kG5wi7p2ggyEWwlp5YOmZF5s1rWOx3ha//WrrzPXNIFYFa m0kqa8tkCMGsKUKQClgU/CQ30h1nWg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=YDS0/uEkWtBItYdP4nPpq0X3nRbZSEsZJBGgsqKW4 F8=; b=CNzTnFXO7Qz4OY1Zr/kvhAVIAaUUmYSi7wvcqQofuOPB8Bo309LDUykM3 D/0j/QZPpgI2/aBercKstzareOqP/by43SX92pqEgkvaR1nIVmrT0dBx0E2W5O76 MZmMYrXRu14rFWaQpr2/5OQGYhfgsLiQ41A/+6klwgx6FVsvyAyvDC5qc9gAOD0y cXp6Q13H2GcEjs3QvRFUW4Ww18DQOZ9u1MOcvB7/y8TPlBzH76eAF2yn5XlIBV0o L/27FhdNTFM+kSBdogwRtX/95aYpOHa3YfFyNAdlrlqKn5I8cBSlN5S8skrGs7sz J+wTl1oNGTz7Vqjh+HliSXCFXpwEA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrudeigdejfeculddtuddrgedtkedrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthen uceurghilhhouhhtmecufedttdenucenucfjughrpefkhffvggfgtgfouffffhgjsehtje ertdertdejnecuhfhrohhmpeffrghnihgvlhcuufhhrghhrghfuceougdrshesuggrnhhi vghlrdhshhgrhhgrfhdrnhgrmhgvqeenucfrrghrrghmpehmrghilhhfrhhomhepugdrsh esuggrnhhivghlrdhshhgrhhgrfhdrnhgrmhgvnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Message-Id: <1546443731.1583173.1623609232.48C07026@webmail.messagingengine.com> From: Daniel Shahaf To: "Saverio M." , zsh-workers@zsh.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-fc1a05a6 Subject: Re: Zsh includes directories in tab completion Date: Wed, 02 Jan 2019 15:42:11 +0000 References: <0fa50a79-556d-d7ab-8628-ab724bd46a07@gmail.com> In-Reply-To: <0fa50a79-556d-d7ab-8628-ab724bd46a07@gmail.com> Saverio M. wrote on Wed, 02 Jan 2019 15:41 +0100: > Is this intended? I think it isn't, but I didn't find a way to disable > it (there's a lot of documentation around, but the posts I've found talk > about tab completion customization). Yes, it's intended. You can 'setopt hashexecutablesonly' to disable it. > $ cat $HOME/.zlogin > [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # > Load RVM into a shell session *as a function* For future reference, "vanilla" environments don't usually include random third-party dependencies :) (The gold standard is 'zsh -f'.) > $ ls -ld $(find ~/code/scripts -name 'myscript*') You could have done this with a recursive glob: . % ls -dl ~/code/scripts/**/myscript* Cheers, Daniel