Re: Turn off bash completion?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike McCarty wrote:
> I'd like to disable the bash "completion" feature. I've read
> the info bash stuff, and I see lots of ways to specify what
> happens after or during completion, but I didn't see (overlooked?)
> how to turn it off. Any bash gurus out there know how to disable
> it entirely?
>
> I don't want to turn off line editing, just completion.

Out of interest – why? The easiest way would surely be just not to use
it.

The bash man page says:
   disable-completion (Off)
      If set to On, readline will inhibit word completion. Completion
      characters will be inserted into the line as if  they  had been
      mapped to self-insert.

Earlier, it mentions where to put this:
   Readline Variables
      Readline has variables that can be used to further customize its
      behavior.  A variable may be set in the inputrc file with a
      statement of the form

              set variable-name value

On Fedora, /etc/profile sets the inputrc file to /etc/inputrc unless
~/.inputrc exists when you log in (or the environment variable INPUTRC
has been set).

So if you put
set disable-completion on
into ~/.inputrc , and log in again, completion should be disabled.
You’ll also have disabled the rest of the settings in /etc/inputrc: you
might like to either copy them across, or try putting
$include  /etc/inputrc
into ~/.inputrc .

Hope this helps,

James.

-- 
E-mail:     james@ | Blessed are the pessimistic, for they take backups.
aprilcottage.co.uk | 

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux