Skip to content

[Feature]: Standardizes the shell mount commands for PowerShell 7 in the documentation #568

@linghengqian

Description

@linghengqian

1. Your usage scenarios?

echo 'Invoke-Expression "$(vfox activate pwsh)"' >> $PROFILE

2. What is your expected outcome?

  • Standardizes the shell mount commands for PowerShell 7 in the documentation. All we need to do is if (-not (Test-Path -Path $PROFILE)) { New-Item -Type File -Path $PROFILE -Force }; Add-Content -Path $PROFILE -Value 'Invoke-Expression "$(vfox activate pwsh)"'.
  • The command echo 'Invoke-Expression "$(vfox activate pwsh)"' >> $PROFILE is meaningless because the $PROFILE file does not exist by default.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions