I presume -x means remove all current bindings for the key sequence.
You probably want to use -r on FreeBSD.
You can find the documentation in editrc(5) as directed from sh(1). The manpages for shell builtins are don't actually document their syntax (e.g. bind(1)).
I have been calling bash with a command when launching a new shell. When I leave the process that spawned I'm back in ash not bash. I needed to invoke bash whereupon the bind exposed is the bash bind which takes `-x` and works appropriately
It should work in FreeBSD shells/bash as well as in any Linux distro, because keybindings syntax and functionality are determined by the library that is used to deal with user input. shells/bash uses readline(3), no matter the OS. But for instance FreeBSD sh(1) uses editline(7), and its interface is not the same.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.