zsh-users
 help / color / mirror / code / Atom feed
From: Roman Perepelitsa <roman.perepelitsa@gmail.com>
To: Ray Andrews <rayandrews@eastlink.ca>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: completion is over thinking things.
Date: Sat, 28 Sep 2019 19:13:11 +0200	[thread overview]
Message-ID: <CAN=4vMrRO3K6S+zE-JNE4JDQrm9=Yf92mixTpmxNAZ-uGp8QnA@mail.gmail.com> (raw)
In-Reply-To: <306325bb-395d-a16b-a771-0786c23cb46e@eastlink.ca>

On Sat, Sep 28, 2019 at 7:06 PM Ray Andrews <rayandrews@eastlink.ca> 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`. You might be looking for `dpkg -i inst.deb`,
which conveniently also completes `inst.[TAB]` as you would expect.

Roman.

  reply	other threads:[~2019-09-28 17:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-28 17:05 Ray Andrews
2019-09-28 17:13 ` Roman Perepelitsa [this message]
2019-09-28 17:36   ` Ray Andrews
2019-09-29  4:47     ` dana
2019-09-29 15:29       ` Ray Andrews
2019-09-29 16:44         ` Bart Schaefer
2019-09-29 18:41           ` Ray Andrews
2019-09-29 19:06             ` Bart Schaefer
2019-09-29 19:35               ` Ray Andrews
2019-09-29 13:09     ` Mikael Magnusson
2019-09-29 15:11       ` Ray Andrews
2019-09-29 15:19         ` Pier Paolo Grassi
2019-09-28 17:14 ` gmail

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAN=4vMrRO3K6S+zE-JNE4JDQrm9=Yf92mixTpmxNAZ-uGp8QnA@mail.gmail.com' \
    --to=roman.perepelitsa@gmail.com \
    --cc=rayandrews@eastlink.ca \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).