mirror of https://github.com/helix-editor/helix
Update env.rs
parent
a0e781efa5
commit
211dcfc2c0
|
@ -146,7 +146,7 @@ fn expand_impl(src: &OsStr, mut resolve: impl FnMut(&OsStr) -> Option<OsString>)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// performs substitution of enviorment variables. Supports the following (POSIX) syntax:
|
/// performs substitution of environment variables. Supports the following (POSIX) syntax:
|
||||||
///
|
///
|
||||||
/// * `$<var>`, `${<var>}`
|
/// * `$<var>`, `${<var>}`
|
||||||
/// * `${<var>:-<default>}`, `${<var>-<default>}`
|
/// * `${<var>:-<default>}`, `${<var>-<default>}`
|
||||||
|
|
Loading…
Reference in New Issue