Function get_shell

Source
pub fn get_shell() -> Shell
Expand description

Figure out what shell we are using. If we can’t figure it out, fallback to Bash, since many shells support the same export foo=bar syntax from bash.