bash-4.0$ a () { bind '"\C-w": unix-filename-rubout'; }
bash-4.0$ b () { bind -p | grep 'unix.*rubout'; }
bash-4.0$ a; b
"\C-w": unix-filename-rubout
# unix-word-rubout (not bound)
bash-4.0$ b
# unix-filename-rubout (not bound)
"\C-w": unix-word-rubout
bash-4.0$

Same in bash-3.2.


Reply via email to