def get_default_shell():
if is_windows():<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>import pwd<EOL>import getpass<EOL>if '<STR_LIT>' in os.environ:<EOL><INDENT>return os.environ['<STR_LIT>']<EOL><DEDENT>else:<EOL><INDENT>username = getpass.getuser()<EOL>shell = pwd.getpwnam(username).pw_shell<EOL>return shell<EOL><DEDENT><DEDENT>
return the path to the default shell for the current user.