Enum setenv::Shell [] [src]

pub enum Shell {
    Windows,
    Bash,
    Tcsh,
    Zsh,
    Ksh,
}

The types of shells we know about

Variants

The default if we can't figure out the shell

Methods

impl Shell
[src]

[src]

Returns the name of this shell

[src]

Prints to stdout the necessary command to change directory.

[src]

Prints to stdout the necessary command to set an envionrment variable

[src]

A simple wrapper around std::env::split_paths

[src]

A simple wrapper around std::env::join_paths and setenv

Trait Implementations

Auto Trait Implementations

impl Send for Shell

impl Sync for Shell