lukesampson / pshazz

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

pshazz list not checking 'phsazz' folder existence #48

Closed johnnyasantoss closed 7 years ago

johnnyasantoss commented 7 years ago

Just reinstalled phsazz and I'm getting this error. I've created folder pshazz in my user folder, and now it's all ok.

~ $ pshazz list
Custom themes:
gci : Não é possível localizar o caminho 'C:\Users\johnny.santos\pshazz'
porque ele não existe.
No C:\Users\johnny.santos\scoop\apps\pshazz\current\libexec\pshazz-list.ps1:8
caractere:2
+     gci "$dir" "*.json" |% { "  $($_.name -replace '.json$', '')" }
+     ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\johnny.santos\pshazz:S
   tring) [Get-ChildItem], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetCh
   ildItemCommand

Default themes:
  awan
  default
  keepprompt
  lukes
  microsoft
  msys
  myty
  tonic
  xpando
lukesampson commented 7 years ago

This should be fixed now (if you were to remove ~/pshazz) if you run scoop update; scoop update pshazz. Thanks for reporting the issue.