1

I am attempting to set revert-all-at-newline on in my bash config file.

bind 'revert-all-at-newline on'

However, this throws the error

readline: revert-all-at-newline: unknown key modifier

bind does not appear to have it

$ bind -l | grep revert-all-at-newline
$

But it is in the man readline documentation locally.

How can I get set the revert-all-at-newline config variable?

  • bash version 4.4.2
  • readline version 7.0
steel
  • 257
  • 2
  • 9

1 Answers1

1

As @bac0n mentioned, you should use

bind 'set revert-all-at-newline on'

Instead of

bind 'revert-all-at-newline on'

set did the trick!