Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Set $WORDCHARS accordingly. In your case, remove / from $WORDCHARS.

https://unix.stackexchange.com/a/726014



For the bash people

  stty werase undef
  bind '"\C-w": backward-kill-word'

source: https://superuser.com/questions/212446/binding-backward-kill...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: