starship/src
Denis Cornehl 076a9e6b8e
fix(rust): overrides should only check full segments (#3668)
Fixes a bug in the Rust module where overrides would match
against both full path components as well as partial ones
(e.g. "/etc/passwd" would be considered a prefix of 
"/etc/passwd_new") on Windows.

Solution is to convert back to a PathBuf after lossy conversion
so that Path::starts_with is used instead of str::starts_with.
2022-03-08 13:58:58 -06:00
..
configs perf(git_status): add option to use windows starship to render in wsl (#2146) 2022-03-06 21:18:23 -06:00
formatter refactor: fix new clippy/compiler warnings (#3656) 2022-02-24 23:31:01 -05:00
init refactor: fix new clippy/compiler warnings (#3656) 2022-02-24 23:31:01 -05:00
modules fix(rust): overrides should only check full segments (#3668) 2022-03-08 13:58:58 -06:00
test fix(status): Enable to convert from i64 to hex_status by casting instead of parsing status. (#3462) 2022-02-05 21:13:42 +01:00
bug_report.rs fix: Correctly detect older versions of powershell in bug-report (#3543) 2022-02-03 21:51:39 +01:00
config.rs perf(git_status): add option to use windows starship to render in wsl (#2146) 2022-03-06 21:18:23 -06:00
configure.rs refactor: update clap to v3 (#3370) 2022-01-04 12:49:42 +03:00
context.rs refactor: fix new clippy/compiler warnings (#3656) 2022-02-24 23:31:01 -05:00
lib.rs refactor: fix new clippy/compiler warnings (#3656) 2022-02-24 23:31:01 -05:00
logger.rs fix(clippy): fix new clippy lints (#2939) 2021-07-29 14:27:46 -04:00
main.rs chore: fix typo in main.rs (#3669) 2022-02-28 11:27:33 -05:00
module.rs refactor: fix new clippy/compiler warnings (#3656) 2022-02-24 23:31:01 -05:00
print.rs fix(fish): Emit clear-screen escape sequence only in left prompt (#3588) 2022-02-14 13:11:55 +01:00
segment.rs feat: Add a fill module to pad out the line (#3029) 2021-09-12 19:59:15 -04:00
utils.rs refactor: fix new clippy/compiler warnings (#3656) 2022-02-24 23:31:01 -05:00