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.0 required=5.0 tests=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 50509dfb for ; Sat, 28 Sep 2019 17:36:51 +0000 (UTC) Received: (qmail 28660 invoked by alias); 28 Sep 2019 17:36:44 -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: List-Unsubscribe: X-Seq: 24303 Received: (qmail 26170 invoked by uid 1010); 28 Sep 2019 17:36:44 -0000 X-Qmail-Scanner-Diagnostics: from mta01.eastlink.ca by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25580. spamassassin: 3.4.2. Clear:RC:0(24.224.136.30):SA:0(-2.6/5.0):. Processed in 0.716562 secs); 28 Sep 2019 17:36:44 -0000 X-Envelope-From: rayandrews@eastlink.ca X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.eastlink.ca designates 24.224.136.30 as permitted sender) X-Authority-Analysis: v=2.3 cv=R7195uZX c=1 sm=1 tr=0 a=zv49KfEsxEDzuN5AGO7r0Q==:117 a=zv49KfEsxEDzuN5AGO7r0Q==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=gir0-LH0AAAA:8 a=3p-qnZemYGRYILaF738A:9 a=QEXdDO2ut3YA:10 a=aLewGyoHDmJ4ULJHWpSz:22 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrfeekgdduudegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptfgrhicutehnughrvgifshcuoehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgeqnecukfhppedvgedrvddtjedrledtrdduleegnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrledtrdduleegpdhhvghloheplgduledvrdduieekrddtrddvngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-Vade-Score: 0 X-Vade-State: 0 X-EL-IP-NOAUTH: 24.207.90.194 Subject: Re: completion is over thinking things. To: zsh-users@zsh.org References: <306325bb-395d-a16b-a771-0786c23cb46e@eastlink.ca> From: Ray Andrews Message-id: <8ef96620-e762-d52c-207f-c3ac5620879f@eastlink.ca> Date: Sat, 28 Sep 2019 10:36:09 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-version: 1.0 In-reply-to: Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 8bit Content-language: en-CA On 2019-09-28 10:13 a.m., Roman Perepelitsa wrote: > On Sat, Sep 28, 2019 at 7:06 PM Ray Andrews wrote: >> $ ls inst.deb >> inst.deb >> >> $ apt-get install inst. [TAB] >> Completing package >> libapt-inst2.0 >> libmono-system-configuration-install4.0-cil >> libmono-system-runtime-durableinstancing4.0-cil >> >> How can I get completion to stop looking and finding files God knows >> where and just expand filenames in the current directory? > This doesn't answer your question but `apt-get install inst.deb` won't > install ./inst.deb. Instead, it'll install all packages that partially > match regex `inst.deb`. Yeah thanks, I remembered that just after posting.  But my issue remains,  I almost always want completion to stop trying to be clever and just give me local file completions. and: Installing packages from local .deb files is not the task for apt-get. You should use `dpkg -i` instead. Actually I know, but I just wanted to demonstrate the issue with completion and that showed the issue.