[Top][All Lists]

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

Re: reset key bindings

From: Andrey Butirsky
Subject: Re: reset key bindings
Date: Mon, 30 Dec 2019 18:10:28 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Thunderbird/72.0

On 30.12.2019 16:53, Greg Wooledge wrote:
On Sun, Dec 29, 2019 at 10:58:44PM +0300, Andrey Butirsky wrote:
I mean, if I screwed up the bindings somehow with `bind` command, I would
like to restore default bindings without restarting the shell. Just by a
command, signal, etc..
Honestly, restarting the shell would be a whole lot easier and faster.
Just "exec bash" should be enough to undo one-off "bind" commands, as
long as you didn't mess up the .inputrc or .bashrc files, or poke around
the terminal with stty.  (Following up with "reset" wouldn't be a bad
call, though, just in case.)


Didn't think about "exec bash", thanks. However, it's essentially a restarting. So you loose the environment, e.g.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]