Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #220997

Re: completion prompting

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: completion prompting
Date 2020-04-06 14:40 +0200
Message-ID <zSzcK-2Li-19@gated-at.bofh.it> (permalink)
References <zScJc-5Pi-21@gated-at.bofh.it> <zSd2x-5Wf-5@gated-at.bofh.it> <zSdvA-6ps-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Apr 05, 2020 at 03:22:08PM +0200, grumpy@mailfence.com wrote:
> On Sun, 5 Apr 2020, tomas@tuxteam.de wrote:
> > So, if I understood you correctly, you might experiment with putting
> > 
> >  set completion-query-items 1000
> > 
> > in your file ~/.inputrc. Or you set it to a negative number, then
> > you're never asked (do at your own risk :-)

> i wrote a script that runs in bash
> i would like to disable prompting for only this script

What makes you think your script would USE this at all?  Are you running a
"read -e" command inside the script?

> 
> $if my_script
> set completion-query-items -1
> $endif

help bind

Probably something like    bind 'set ...'   but I have zero experience
with this.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

completion prompting grumpy@mailfence.com - 2020-04-05 14:40 +0200
  Re: completion prompting Andrei POPESCU <andreimpopescu@gmail.com> - 2020-04-05 14:50 +0200
  Re: completion prompting <tomas@tuxteam.de> - 2020-04-05 15:00 +0200
    Re: completion prompting grumpy@mailfence.com - 2020-04-05 15:30 +0200
      Re: completion prompting Greg Wooledge <wooledg@eeg.ccf.org> - 2020-04-06 14:40 +0200

csiph-web