lukesampson/pshazz — pull request #1 by tltjr (2013-11-04 17:28:57+00:00)
Title: Prevent profile overwrite

I was following along with your Scoop demo (very nice BTW!), when I noticed that the pshazz install blasted my powershell profile. Currently, it deletes the contents of the profile and just leaves the line "try { `$null = gcm pshazz -ea stop; pshazz init 'default' } catch { }".

Assigning the new profile to a variable prior to writing it to $profile seems to resolve the issue.

Also, apologies for the line endings / spacing, I tried a couple times, but couldn't get them quite right for some reason.