ChrisTitusTech / winutil

Chris Titus Tech's Windows Utility - Install Programs, Tweaks, Fixes, and Updates
MIT License
21.73k stars 1.34k forks source link

pwsh profile Icons don't appear #2829

Open makkarankush68 opened 2 days ago

makkarankush68 commented 2 days ago

Describe the bug

The icons never appear when using pwsh.exe (i dont have windows terminal installed) image However they are fine in vscode image

To Reproduce

Steps to reproduce the behavior:

  1. just open pwsh.exe from start menu

Expected behavior

Icons should appear nonetheless

Screenshots

attached above

Additional context

Using latest win 11 with win terminal uninstalled

Ed-Bryce commented 2 days ago

I fixed this by selecting one of the nerd fonts (I selected 0xProtoNerdFont). In powershell this is in the properties menu. In windows terminal this is in settings then powershell 7 profile then appearance.

If you dont have these they can be installed using oh-my-posh font install

Marterich commented 1 day ago

@Ed-Bryce nice workaround.

@ChrisTitusTech @MyDrift-user How do we want to handle this kind of "Cross Repository Issue" in the future? This seems to be an issue with the setup script for the CTT Powershell Profile (which is developed in a different repo and gets pulled in) therefore the Issue would technically have to be created and debugged there, but because there is no apparent way for the user to differentiate between "winutil doesn't work" and "an external resource that got loaded doesn't work" I suppose we will see similar issues in the future. Maybe we can get ahead of the curve and figure out a way how to handle these kind of bug requests before they become unmanageable

MyDrift-user commented 1 day ago

Noticed that aswell @Marterich I'd suggest following ways to go about this:

makkarankush68 commented 1 day ago

I fixed this by selecting one of the nerd fonts (I selected 0xProtoNerdFont). In powershell this is in the properties menu. In windows terminal this is in settings then powershell 7 profile then appearance.

If you dont have these they can be installed using oh-my-posh font install

It works when opened using pwsh.exe (original location) But not when opened using a shortcut

https://github.com/user-attachments/assets/f7b58fd6-e057-4d35-962b-a956e0a954e7

MyDrift-user commented 1 day ago

I suggest downloading the fonts manually, extracting the zip and move the files to the global fonts folder (idk where that folder is rn, but a quick google search did it for me last time)