support login shells ("-bash" instead of "bash")