Add support for all-back and forth between words in shell