6 ms·
Ctrl-W works in bash too.
by devgutt 14y ago
Ctrl-W works in bash too.
- djeikyb 14y agoFor this string with cursor at end: "cd /usr/share/gammu" Bash[1] deletes to the space. Zsh[2] deletes to the slash. I installed Zsh just now to find this out, and I love that Zsh appears to use ctl-w to delete words like vim does. [1]: GNU bash, version 4.2.37(2)-release (i686-pc-linux-gnu) [2]: zsh 5.0.0 (i686-pc-linux-gnu)
- devgutt 14y agoYou can use META-<Backspace> (Emacs mode)