You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because the PowerShell folder in .config is camel case, you cannot do things like this:
touch $profile.currentuserallhost
or
vim $profile.currentuserallhost
you get an error that it can't open the file b/c the dir was never made. Since the home directory appears to be created automatically, this should probably just be fixed in the $profile object
I take this back - it actually needs to not have camel case, but the folder created automatically in .config has camel case. I'm not certain when this folder was created.
changed the title [-]Profile Path is missing camel case in $profile object[/-][+]Path in $profile object is case-inconsistent with XDG profile directory[/+]on Aug 16, 2016
Dongbo Wang (@daxian-dbw) your changes here broke PowerShell on Linux / OS X configuration paths; they're now incorrectly searching "PowerShell" instead of the XDG BDS directory.
Tome Tanasovski (@toenuff) until the bug with GetUserSettingsDirectory() is resolved, (it needs to respect XDG BDS instead of a hard-coded path); please ignore~/.config/PowerShell completely. Create ~/.config/powershell and add your profile.ps1 there. This is the correct path (and XDG_DATA_HOME will be used if you set it).
changed the title [-]Path in $profile object is case-inconsistent with XDG profile directory[/-][+]JsonConfigFileAccessor incorrectly creates ~/.config/PowerShell[/+]on Aug 17, 2016
Activity
toenuff commentedon Aug 15, 2016
I take this back - it actually needs to not have camel case, but the folder created automatically in .config has camel case. I'm not certain when this folder was created.
[-]Profile Path is missing camel case in $profile object[/-][+]Path in $profile object is case-inconsistent with XDG profile directory[/+]andyleejordan commentedon Aug 17, 2016
Would you please remove PowerShell, reinstall it, delete your
~/.config/PowerShellfolder and run these tests?andyleejordan commentedon Aug 17, 2016
Hm, on second thought, they're not testing that the path is created correctly.
andyleejordan commentedon Aug 17, 2016
Wow. Verified, this is a regression.
andyleejordan commentedon Aug 17, 2016
Dongbo Wang (@daxian-dbw) your changes here broke PowerShell on Linux / OS X configuration paths; they're now incorrectly searching "PowerShell" instead of the XDG BDS directory.(It sure looked like this did it!)
andyleejordan commentedon Aug 17, 2016
We need to re-enable the Base Directory tests (I don't care if they're slow or not), and add checks for the creation of the path.
andyleejordan commentedon Aug 17, 2016
After further research, it was not Dongbo Wang (@daxian-dbw) changes; it was Mike Richmond (@mirichmo)'s here.
andyleejordan commentedon Aug 17, 2016
The new
GetUserSettingsDirectory()doesn't respect XDG BDS.andyleejordan commentedon Aug 17, 2016
Tome Tanasovski (@toenuff) until the bug with
GetUserSettingsDirectory()is resolved, (it needs to respect XDG BDS instead of a hard-coded path); please ignore~/.config/PowerShellcompletely. Create~/.config/powershelland add yourprofile.ps1there. This is the correct path (andXDG_DATA_HOMEwill be used if you set it).[-]Path in $profile object is case-inconsistent with XDG profile directory[/-][+]JsonConfigFileAccessor incorrectly creates ~/.config/PowerShell[/+]toenuff commentedon Aug 17, 2016
Already figured that - glad you guys found the root cause.