A really nice quality of life improvement you can make in Terminal.app: map Option-Backspace to ^W (Control-W, or \027) so that pressing it in the shell will delete one word to the left, like most other MacOS apps:

Key mapping preference pane within Terminal, with a new key mapping with the delete key and option modifier sends control W as text