add shell-mode configuration