On Wed, Nov 21, 2012 at 6:40 AM, smu johnson <smujohnson@gmail.com> wrote:
> Hi.
>
> If you are in regular emacs mode in Bash, and you hit Esc twice, it acts as
> an auto-complete, similar to just hitting tab.
>
> I cannot find this behaviour in any of the system wide bash defaults in
> /etc, or any of my own dotfiles.
>
$ bind -p | grep 'complete$'
"\C-i": complete
"\e\e": complete
$
Not sure if \e\e is on by default but if you want to disable it:
$ bind -r '\e\e'
$bind -p | grep 'complete$'
"\C-i": complete
$
>
> An op on Freenode.#bash confirmed it happened on his too, and he uses "GNU
> bash, version 4.2.39(2)-release (i686-pc-linux-gnu)". His is far more
> recent version than mine.
>
> Thanks in advance.
>
>
> --
> smu johnson <smujohnson@gmail.com>
>