lukesampson / pshazz

Give your powershell some pizazz.
The Unlicense
575 stars 40 forks source link

Powershell Core profile #73

Open Ash258 opened 6 years ago

Ash258 commented 6 years ago

Pshazz is not initialized properly when used inside pwsh.

PWSH and normal powershell use different profile locations. (https://github.com/PowerShell/PowerShell/issues/4682)

Creating symbolic link for profile file is working.

PWSH:

$ $PROFILE
C:\Users\Ash258\Documents\PowerShell\Microsoft.PowerShell_profile.ps1

Powershell:

$ $PROFILE
C:\Users\Ash258\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1

Screen Already created symlink for profile.

qcts33 commented 5 years ago

The install script of pshazz seems alright, so a another quick walk around is just uninstall and reinstall pshazz inside the pwsh

cderv commented 4 years ago

The install script of pshazz seems alright, so a another quick walk around is just uninstall and reinstall pshazz inside the pwsh

Yes that worked for me. After uninstalling and reinstalling inside pwsh, the profile is installed and then loaded correctly.