Only set shell settings if at a shell with a prompt