winutil icon indicating copy to clipboard operation
winutil copied to clipboard

pwsh profile Icons don't appear

Open makkarankush68 opened this issue 1 year ago • 6 comments

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

makkarankush68 avatar Sep 26 '24 13:09 makkarankush68

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

Ed-Bryce avatar Sep 26 '24 20:09 Ed-Bryce

@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

Marterich avatar Sep 27 '24 15:09 Marterich

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

  • adding this info into the issue template
  • add a PS Profile label to differenciate them
  • maybe there is another way of informing the user about smth when creating an issue?
  • port the profile entirely into winutil like the razer block (I would not like to do that, but may be inavoidable..)

MyDrift-user avatar Sep 27 '24 15:09 MyDrift-user

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

makkarankush68 avatar Sep 27 '24 16:09 makkarankush68

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)

MyDrift-user avatar Sep 27 '24 17:09 MyDrift-user

This issue was marked as stale due to inactivity.

github-actions[bot] avatar Dec 27 '24 00:12 github-actions[bot]