I've just migrated from
bash, I had the following line in
Hence, Alt+Backspace would delete back to the previous slash, which was useful for changing entered paths.
bash defaults to making Ctrl+w delete to the previous space, which is useful for deleting whole arguments (presuming they don't have spaces).
zsh, both Alt+Backspace and Ctrl+w do the same thing. They both delete the previous word, but they are too liberal with what constitutes a word-break, deleting up to the previous
_. Is there a way to make
zsh behave similarly to
bash? If it's important, I have