bash-completion tweaks

Q. Can tab completion be made even easier?

A. The readline(3) library offers a few settings that can make tab
completion easier (or at least different) to use.
For example, try putting the following in either /etc/inputrc or
~/.inputrc:
set show-all-if-ambiguous on
This will allow single tab completion as opposed to requiring a
double tab. This makes things much more pleasant, in our opinion.
set visible-stats on
This will suffix each returned file completion with a character
denoting its type, in a similar way to ls(1) with -F or --classify.
set page-completions off
This turns off the use of the internal pager when returning long
completion lists.

Źródełko

Comments !

blogroll

social