onpath 0.2.0

Get your tools on the PATH — cross-shell, cross-platform, zero fuss
Documentation
1
2
3
4
5
6
7
8
9
/// Where to insert the directory in PATH.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
pub enum Position {
    /// Add to the beginning of PATH (shadows existing entries).
    #[default]
    Prepend,
    /// Add to the end of PATH.
    Append,
}