powershell-profile icon indicating copy to clipboard operation
powershell-profile copied to clipboard

Nothing happens after install

Open DRYN07 opened this issue 1 year ago • 8 comments

The installation was successful but my powershell looks the same as before. Should I do anything else beside running the script?

Thanks :)

After install image

DRYN07 avatar May 11 '24 11:05 DRYN07

In the folder where you executed the script, there should be a 'Cove.zip' File extract it and then install it

if you read the script in setup.ps1, theres a function that dowloads cascadiacode and install it you might have to restart your terminal though

https://github.com/ChrisTitusTech/powershell-profile/blob/main/setup.ps1

berlintay avatar May 14 '24 17:05 berlintay

Thank you for clearing this. I have read that but there is no cove.zip in the whole machine (at least everything search could not find one) :/

I looked the zip in the right directory. Do you have any other ideas maybe what could be the cause?

image

DRYN07 avatar May 14 '24 18:05 DRYN07

Click on 'v' in the bar then go to settings then 'PowerShell' then 'Appearance' then 'Font face' then select 'CaskaydiaCove Nerd Font Mono'

-> Download Caskaydia font and install from nerdfont.com , if you dont see that font..........

Xyplixt avatar May 19 '24 07:05 Xyplixt

Hi there @DRYN07 I had the same issue as you, not sure if you've already sorted it, but here are the steps I took to sort it:

  • Select Settings within the dropdown. Screenshot 2024-06-28 123301

  • Select PowerShell, find the Additional settings section and select Appearance. Screenshot 2024-06-28 123827

  • Change the Font face to CaskaydiaCove Nerd Font Mono or a NF Mono patched font you like (most should work), and if you fancy you can change the Color scheme. Don't forget to press Save. Screenshot 2024-06-28 124131

Final result should be similar to:

image

fdzalex avatar Jun 28 '24 11:06 fdzalex

@fdzalex Thank you for writing, to be honest, I haven't dealt with it since then. Now it has come up again to do it, I read the description, and it was quite clear that last time I got stuck with the cove.zip, even though I could have used a different font as well... :D

DRYN07 avatar Aug 01 '24 06:08 DRYN07

Hmmm a small other question. I did a clean install of this on a clean virtual machine. On the appearance, everything is fine but the powershell looks like the default one. Am I missing something? I restarted the explorer.

image

image

DRYN07 avatar Aug 01 '24 09:08 DRYN07

Might be missing oh-my-posh

Oh-My-Posh debug pwsh

See the output and post here.

Also check that your Environment for your ps1 profile is correct

$PROFILE

and lastly verify that the oh-my-posh is on path by doing

$env:PATH | grep oh-my-posh

show me what the output is and we can get this solved!!

Hmmm a small other question. I did a clean install of this on a clean virtual machine. On the appearance, everything is fine but the powershell looks like the default one. Am I missing something? I restarted the explorer.

image

image

berlintay avatar Aug 02 '24 02:08 berlintay

Finally, I found the problem: the issue was caused by UniGetUI already having installed a version of Choco, just not in the default location. As a result, the script simultaneously stated, "WARNING: Choco is not installed" and "WARNING: Choco is already installed." If I leave the UniGetUI installation until the end, ensuring that Choco is already installed in the proper location, everything works fine :)

Thank you for the detailed help anyway.

DRYN07 avatar Aug 05 '24 06:08 DRYN07