1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-15 17:47:13 +00:00
starship/src/init
Jean Gautier 02edad0c66
fix(directory): avoid confusing modules with PowerShell paths (#1114)
* Avoid confusing modules with PowerShell paths

* Avoid confusing modules with PowerShell paths

Powershell supports PSDrives (https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/new-psdrive?view=powershell-7) that allow to create "logical" drives mapped to actual Windows drives.

* Preserve Windows directories

* Preserve logical paths for Powershell

* Fix formating with cargo fmt

* Fix directory_in_root test

Co-authored-by: Jean Gautier <jean.gautier@ssi.gouv.fr>
2020-04-30 10:40:56 +02:00
..
mod.rs feat: Add support for the ion shell (#704) 2019-12-11 15:31:30 -05:00
starship.bash feat: Terminate $PROMPT_COMMAND properly (#799) 2020-01-04 10:52:08 -05:00
starship.fish feat: cmd_duration module optionally reports milliseconds (#696) 2019-12-19 17:38:06 -05:00
starship.ion fix: Change command duration variable for Ion shell to CMD_DURATION (#911) 2020-02-06 14:41:55 -05:00
starship.ps1 fix(directory): avoid confusing modules with PowerShell paths (#1114) 2020-04-30 10:40:56 +02:00
starship.zsh feat: cmd_duration module optionally reports milliseconds (#696) 2019-12-19 17:38:06 -05:00