1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-06-09 03:42:22 +00:00
starship/src
David Knaack 1eaf996a36
fix(windows): avoid inadvertly running exes from cwd (#2885)
On Windows when running commands with their name instead of the path with Command::new, executable with that name from the current working directory will be executed.

This PR replaces all instances of Command::new with a new create_command function which will first resolve any executable paths and avoid this issue.
2021-07-16 15:20:59 -04:00
..
configs feat(env_var): allow multiple instances (#2797) 2021-07-13 17:06:08 -04:00
formatter feat: treat empty string as none when formating (#2738) 2021-06-29 19:33:43 -04:00
init fix(windows): avoid inadvertly running exes from cwd (#2885) 2021-07-16 15:20:59 -04:00
modules fix(windows): avoid inadvertly running exes from cwd (#2885) 2021-07-16 15:20:59 -04:00
test fix(windows): avoid inadvertly running exes from cwd (#2885) 2021-07-16 15:20:59 -04:00
bug_report.rs fix(windows): avoid inadvertly running exes from cwd (#2885) 2021-07-16 15:20:59 -04:00
config.rs feat(env_var): allow multiple instances (#2797) 2021-07-13 17:06:08 -04:00
configure.rs fix(windows): avoid inadvertly running exes from cwd (#2885) 2021-07-16 15:20:59 -04:00
context.rs feat: add support for nu shell (#2847) 2021-07-04 15:32:58 -04:00
lib.rs fix(windows): avoid inadvertly running exes from cwd (#2885) 2021-07-16 15:20:59 -04:00
logger.rs feat: add support for nu shell (#2847) 2021-07-04 15:32:58 -04:00
main.rs fix(windows): avoid inadvertly running exes from cwd (#2885) 2021-07-16 15:20:59 -04:00
module.rs feat: Add the git_metrics module (#2827) 2021-07-10 16:54:34 -04:00
print.rs refactor(print): introduce UnicodeWidthGraphemes trait (#2670) 2021-05-02 09:55:26 +02:00
segment.rs
utils.rs fix(windows): avoid inadvertly running exes from cwd (#2885) 2021-07-16 15:20:59 -04:00