lukesampson / pshazz

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

Fix Alias Plugin #98

Closed Deide closed 5 years ago

Deide commented 5 years ago

Should fix #95

ConvertFrom-Json seems to return a custom PSObject that no longer has a keys property, which breaks alias additions in theme files.

Instead of going through the object and transferring the key-value pairs to a hashtable, I've just enumerated the custom object via the psobject property. Seems to work just fine, and has fixed the alias issues I've had for the past month or so.

Also, vscode/prettier formatted some of the json theme files, getting rid of some white space. Woops.