Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
docs: replaced section about profile location on Windows

In now uses the built in env variable $profile
  • Loading branch information
Megamannen authored Sep 26, 2023
1 parent 595043f commit c691cb7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,7 @@ fnm env --use-on-cd | Out-String | Invoke-Expression
```

- For macOS/Linux, the profile is located at `~/.config/powershell/Microsoft.PowerShell_profile.ps1`
- On Windows, PowerShell comes pre-installed, but there are two versions of it. [Read more about it here](https://learn.microsoft.com/en-us/powershell/scripting/windows-powershell/install/installing-windows-powershell). The profile is located at different places depending on which version you're using:
- Built in PowerShell (aka "Windows PowerShell"): `~\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1`
- The newer, PowerShell >= 7, that's not built in: `~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1`
- On Windows to open and edit your profile you can type in PowerShell `notepad $profile`

#### Windows Command Prompt aka Batch aka WinCMD

Expand Down

0 comments on commit c691cb7

Please sign in to comment.