Conculusion:
- No
WORDCHARSalternative in Bash, where C-w ends can't be configured. mysqldepends oneditline, which is customizable with~/.editrc.redis-clidepends onlinenoise, it deletes the whole word without considering:,-
In zsh, WORDCHARS controls the behavior of C-w when deleting a word. Is there any alternative in readline?
I've noticed recently the behavior of C-w in mysql/redis-cli differs that in Bash, although both of which depends on readline?
Take string foo:bar as an example, only bar is deleted by C-w in Bash. While in mysql/redis-cli, the whole word foo:bar is deleted.
How do I control this behavior?