starship/tests/testsuite
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
..
aws.rs fix: Fix latest clippy suggestions (#1136) 2020-04-24 12:37:13 +02:00
character.rs Support vicmd_symbol in fish-shell (#254) 2019-08-31 00:59:18 -07:00
cmd_duration.rs fix: Fix incorrect prefix usage in cmd_duration module (#832) 2020-01-18 01:15:08 -06:00
common.rs fix: possible fix for Intermittent Test Failures in GH Actions (#987) 2020-03-15 12:12:25 -05:00
conda.rs fix: Do not depend on user's config in conda tests (#1098) 2020-04-13 21:23:49 +02:00
configuration.rs fix: Lazy load git repo and only run module if not disabled (#306) 2019-09-09 19:14:38 -04:00
directory.rs fix(directory): avoid confusing modules with PowerShell paths (#1114) 2020-04-30 10:40:56 +02:00
dotnet.rs fix: possible fix for Intermittent Test Failures in GH Actions (#987) 2020-03-15 12:12:25 -05:00
env_var.rs feat: Add Environment Variable module (#409) 2019-09-26 17:30:58 +09:00
git_branch.rs fix: Fix latest clippy suggestions (#1136) 2020-04-24 12:37:13 +02:00
git_commit.rs test: Add null tests to modules that don't have them (#1104) 2020-04-15 09:55:32 +02:00
git_state.rs fix: Fix latest clippy suggestions (#1136) 2020-04-24 12:37:13 +02:00
git_status.rs fix: Fix latest clippy suggestions (#1136) 2020-04-24 12:37:13 +02:00
hg_branch.rs fix: Fix latest clippy suggestions (#1136) 2020-04-24 12:37:13 +02:00
hostname.rs feat: Add configuration for hostname truncation (#485) 2019-10-15 01:22:25 +09:00
jobs.rs fix: Lazy load git repo and only run module if not disabled (#306) 2019-09-09 19:14:38 -04:00
line_break.rs Refactor integration tests (#71) 2019-06-06 13:18:00 +01:00
main.rs feat: add singularity module (#932) 2020-02-26 11:18:19 -05:00
modules.rs fix: Change panicking on unknown module to error print and support module listing flag (#197) 2019-08-20 00:42:25 -04:00
nix_shell.rs feat(nix_shell): add symbol to nix-shell module (#1058) 2020-04-07 18:35:18 +02:00
python.rs fix: Fix latest clippy suggestions (#1136) 2020-04-24 12:37:13 +02:00
singularity.rs test: Add null tests to modules that don't have them (#1104) 2020-04-15 09:55:32 +02:00
terraform.rs fix: Fix latest clippy suggestions (#1136) 2020-04-24 12:37:13 +02:00
time.rs revert: chore: Remove logic for the disabled option from modul… (#489) 2019-10-05 19:03:48 +09:00
username.rs feat: Add option to always show the username module (#408) 2019-09-22 15:32:11 -05:00