Add visual-line-mode hook for shell-mode only