ChrisTitusTech / powershell-profile

Pretty PowerShell that looks good and functions almost as good as Linux terminal
513 stars 303 forks source link

edit-profile does not point to $profile #54

Closed mickleby closed 2 weeks ago

mickleby commented 2 months ago

edit-profile wants to create profile.ps1 rather than edit microsoft.powershell_profile.ps1

boubakeraddy commented 2 months ago

same here

suppeppo commented 2 months ago

As stated in setup.ps1:

If you want to add any persistent components, please do so at [$profilePath\Profile.ps1] as there is an updater in the installed profile which uses the hash to update the profile and will lead to loss of changes

So it seems to be working as intended.

natep-tech commented 1 month ago

For more context, the profile provided in this repo is for all users. By using the Edit-Profile function, you create a separate profile file for the current user, where new functions can be defined without interfering with the main profile.