Use shell-mode-map rather than a hook