I set up my iTerm to work a lot like OSX does in other text fields, eg ⌘ Command+Delete =
delete line backward, ⌥ Option+left arrow = "move cursor back one word" and ⌥ Option+Delete =
delete word backward, but the way I have it, ⌥ Option+Delete in bash/iTerm doesn't count
/ as a word separator, so if I have
cd a/path/to/a/folder and I hit ⌥ Option+Delete it deletes the whole path, instead of just
How can I set it up so that ⌥ Option+Delete only gets rid of folder? I realize this might need a bash solution, or an iTerm solution, but I don't know which. Or maybe it needs both.