Only handle ".." and '..' quoting in shell-mode.